Scrollbar

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

Use a Scrollbar bean to provide a slider that the user can manipulate to select a value from a range of values. A scroll bar consists of a scroll shaft that represents the range of values, a scroll box within the range, and scroll arrows at the ends of the range. A scroll bar can be either horizontal or vertical.

Use a Scrollbar bean, rather than a JScrollBar bean, if you want to use it in an AWT container. Although Swing and AWT beans can be mixed, it is inadvisable.


Related procedures
Adding a List or Slider Component

Related references
List and Slider Beans
Beans for Visual Composition