Chapter 6. Bounded-Range Components
This chapter groups several Swing components together by the
model that drives them: the bounded-range model.
Bounded-range components in Swing include JSlider
, JProgressBar
, and JScrollBar
. In addition, we discuss two classes that use progress
bars: ProgressMonitor
and ProgressMonitorInputStream
. These classes
display status dialogs using a JOptionPane
that you can assign to a variety of
tasks.
Get Java Swing, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.