if (orientation < JList.VERTICAL || orientation > JList.HORIZONTAL_WRAP) throw new IllegalArgumentException();
  public void setLayoutOrientation(int orientation)  {    if (layoutOrientation == orientation)      return;    int old = layoutOrientation;    layoutOrientation = orientation;    firePropertyChange("layoutOrientation", old, orientation);  }