• Post Reply Bookmark Topic Watch Topic
  • New Topic

hopefully simple question on CardLayout  RSS feed

 
jeff culler
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do you make a reference to a JPanel contained
within a CardLayout that is not showing?
 
Brian Pipa
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The same way you would with a JPanel that was showing. Just because it's not showing doesn't mean you can't call methods on it and/or change its contents.
Brian
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!