Scrollbar.setOrientation
Class Overview | Class Members |
This Package |
All Packages
public synchronized void setOrientation( int orientation )
Parameters
- the
- orientation of this scroll bar, either
Scrollbar.HORIZONTAL or
Scrollbar.VERTICAL.
Description
Sets the orientation for this scroll bar.
Exceptions
IllegalArgumentException
if the value supplied
for orientation is not a
legal value.
See Also
getOrientation