firePropertyChange("orientation", old, orientation);
  public void setOrientation(int orientation)  {    if (orientation != HORIZONTAL && orientation != VERTICAL)      throw new IllegalArgumentException(orientation                                         + " is not a valid orientation.");    this.orientation = orientation;  }