firePropertyChange(ORIENTATION_CHANGED_PROPERTY, oldOrientation,
firePropertyChange("orientation", oldOrientation,
  public void setOrientation(int orientation)  {    if (orientation != VERTICAL && orientation != HORIZONTAL)      throw new IllegalArgumentException("orientation must be one of: VERTICAL, HORIZONTAL");    if (orientation != this.orientation)      {	int oldOrientation = this.orientation;	this.orientation = orientation;	firePropertyChange(ORIENTATION_CHANGED_PROPERTY, oldOrientation,	                   this.orientation);      }  }