public int getOrientation ()

Returns the orientation of this separator.

Returns:  The value of the orientation property, one of the following constants defined in SwingConstants: VERTICAL, or HORIZONTAL.

See also:
SwingConstants, setOrientation