Skip to main content
  • 596 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 34.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 1999 John Zukowski

About this chapter

Cite this chapter

Zukowski, J. (1999). Bounded Range Components. In: John Zukowski’s Definitive Guide to Swing for Java 2. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-5251-1_13

Download citation

  • DOI: https://doi.org/10.1007/978-1-4302-5251-1_13

  • Publisher Name: Apress, Berkeley, CA

  • Print ISBN: 978-1-893115-02-6

  • Online ISBN: 978-1-4302-5251-1

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics