Sets the horizontal scrollbar-display policy. The options are:
JScrollPane version
of this method. It only exists for backwards compatibility
with the Swing 1.0.2 (and earlier) versions of this class.
x | an int giving the display policy |
IllegalArgumentException | if x is not a valid
horizontal scrollbar policy, as listed above |
Diagram: Scrolling