if (way != X_AXIS && way != Y_AXIS && way != LINE_AXIS && way != PAGE_AXIS) throw new AWTError("Invalid axis");
  public BoxLayout(Container container, int way)  {    int width = 0;    int height = 0;    this.container = container;    this.way = way;  }