The ScrollPane Constructor
The ScrollPane constructor takes a single argument that specifies the desired scrollbar policy
Three static constants are provided for this purpose: SCROLLBARS_ALWAYS, SCROLLBARS_AS_NEEDED, and SCROLLBARS_NEVER
Previous slide
Next slide
Back to first slide
View graphic version