Online Software Educational Training - IT Tutorials - Online Education Training for Computer Software


Home

JAVA APPLET

Creating ScrollBars

Scroll bars are used to select continuous values between a specified minimum and maximum. Scroll bars may be horizontally or vertically. A scroll bas is actually a composite of several individual parts. Each end has an arrow that you can click to move the current value of the scroll bar one unit in the direction of the arrow.

Scrollbar defines the following constructors

Scrollbar()

Scrollbar(int style)

Scrollbar(int style, int initialValue, int thumbSize, int min, int max)

An example to show Scorllbars






Previous

Next