File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Help with JScrollPane" Watch "Help with JScrollPane" New topic
Author

Help with JScrollPane

yo misma
Greenhorn

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
Greenhorn

Joined: Apr 15, 2005
Posts: 2
have you called setPreferredSize on the JDesktopPane?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Help with JScrollPane
 
Similar Threads
JScrollPane & JPanel dynamic changes
How to paint a java.awt.Image in a JScollPane?
HELP ! Scrollpanes on Panels
Swing and JScrollBar
Scrolling a JDesktopPane when JInternalFrames go outside the Standard View