O'Reilly logo

Graphic Java™ 2, Volume II: Swing, Third Edition by David M. Geary

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 13. Scrolling

This chapter discusses the Swing scrolling architecture, which includes two lightweight Swing containers—JViewport and JScrollPane—a Scrollable interface designed to support components with special scrolling needs and a JScrollBar class.

Instances of JViewport are rarely instantiated and used directly; however, a considerable portion of this chapter is dedicated to the JViewport class because it is the fundamental component ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required