Advertisement

Abstract

in the previous chapter, you saw how JScrollPane provides a scrollable region for those situations when there isn’t sufficient space to display an entire component on screen. Swing also offers several components that support some type of scrolling or the display of a bounded range of values. The available components are JScrollBar, JSlider, JProgressBar, and, in a more limited sense, JTextField. What these components share is a BoundedRangeModel as their data model. The default implementation of this data model provided with the Swing classes is the DefaultBoundedRangeModel class. We’ll look at the similarities (and differences) between these Swing components and the BoundedRangeModel.

Keywords

Paging Area Tick Mark Change Listener Public Void Completion Percentage 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© John Zukowski 1999

Authors and Affiliations

  • John Zukowski

There are no affiliations available

Personalised recommendations