Allows you to display part of a large Panel and let the user scroll to see all over it. In AWT, you use ScrollPane, and in Swing JScrollPane. The Swing version lets you control horizontal and vertical scrollbars independently. With the AWT version, you either have neither or both. With ScrollPane you cannot change the scrolling policy once you set it in the constructor. With JScrollPane you can. Here is how you use
| You can get the freshest copy of this page from: | or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror) | |
| http://mindprod.com/jgloss/scrollpane.html | J:\mindprod\jgloss\scrollpane.html | |
![]() | ||
| Canadian Mind Products | ||
| mindprod.com IP:[65.110.21.43] | ||
| view Blog | Your face IP:[38.107.191.110] | |
| Feedback | You are visitor number 12,510. | |