Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Swing / AWT / SWT and the fly likes Help with JScrollPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Help with JScrollPane" Watch "Help with JScrollPane" New topic

Help with JScrollPane

yo misma

Joined: Apr 14, 2005
Posts: 3
hi, I'm trying to add a JDesktopPane that constains other components to a JScrollPane and it works, but when I resize the JDesktopPane the Scrollbars of the JScrollPane do not let me to scroll it (i can force the scrollbars to appear but anyway they can not scroll anything)

Does anyone know how to solve this problem?
Paul Rhoades

Joined: Apr 15, 2005
Posts: 2
have you called setPreferredSize on the JDesktopPane?
I agree. Here's the link:
subject: Help with JScrollPane