@BeanProperty(preferred=true, visualUpdate=true, enumerationValues={"SwingConstants.HORIZONTAL", "SwingConstants.VERTICAL"}, description="The orientation of the separator.")
public void setOrientation (int orientation)

Sets the orientation of the separator. The default value of this property is HORIZONTAL.

Parameters:
orientation    either SwingConstants.HORIZONTAL or SwingConstants.VERTICAL

Exceptions:
IllegalArgumentException    if orientation is neither SwingConstants.HORIZONTAL nor SwingConstants.VERTICAL

See also:
SwingConstants, getOrientation