Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help with JScrollPane

 
yo misma
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
have you called setPreferredSize on the JDesktopPane?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic