• Post Reply Bookmark Topic Watch Topic
  • New Topic

Changing the content pane  RSS feed

 
Ryan Maxwell
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to clear the content pane and then add all new componetns to it... Using the contentPane.removeAll() method, I've cleared the screen, but nothing, not even repainting, makes the new components visible... If anyone could help, I'd really appreciate it...
 
Joe Ess
Bartender
Posts: 9439
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use a CardLayout. Way easier than trying to manage the invalidation/validation of components.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!