firePropertyChange(ORIENTATION_CHANGED_PROPERTY, oldOrientation, this.orientation);
firePropertyChange("orientation", oldOrientation, this.orientation);
  public void setOrientation(int orientation)  {		if (orientation != HORIZONTAL && orientation != VERTICAL)      throw new IllegalArgumentException(orientation                                         + " is not a legal orientation");	    if (orientation != this.orientation)	    {		int oldOrientation = this.orientation;		this.orientation = orientation;		firePropertyChange(ORIENTATION_CHANGED_PROPERTY, oldOrientation,			this.orientation);	revalidate();	repaint();	    }	} // setOrientation()