Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Re cardLayout  RSS feed

 
rose deng
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
I have a panel whose layout manager is CardLayout. when i add a scrollpane to it, the scrollpane doesn't show.
what's wrong?
wait for your valuable help.
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rose,
I am not sure exactly what you are trying to do since you didn't post any code, but I've built some test code to try the situation you are describing... try to plug a resonably big image into the test code and it should work... ( replace Washu_BG1.gif with the image of your choice... ) Hopefully, it will illustrate what you need.

HTH,
-Nate
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!