ScrollPane

Palette category
AWT
Palette bean
ScrollPane
Project
Java class libraries
Package
java.awt
Type
ScrollPane

Use a ScrollPane bean to provide a pane with scroll bars. This enables you to define a pane that is not always completely within view. You can place one component in the scroll pane. If you want multiple components within the scroll pane, add a Panel bean to the scroll pane and place the components on the panel.

Use a JScrollPane bean, rather than a ScrollPane bean, if you want to use Swing components in the pane. Although Swing and AWT beans can be mixed, it is inadvisable.


Related procedures
Adding a Pane or Panel

Related references
Pane and Panel Beans
Beans for Visual Composition