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

how to switch between panel?  RSS feed

 
Tiny Star
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if a frame contains many panels then use what method to switch between them?
is that hide one and show another?
use setVisible(boolean) or somewhat ?
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"tinystar" -

Welcome to the JavaRanch! Please adjust your displayed name to meet the
JavaRanch Naming Policy.
You can change it here.

Look into using CardLayout... it manages a lot of this stuff for you...
Thanks! and welcome to the JavaRanch!
[ September 23, 2002: Message edited by: Nathan Pruett ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!