Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Refreshing a frame  RSS feed

 
Peter Phung
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm using a card layout to switch between GUI's.
I'm trying to resize the frame that i created when the user changes GUI, but the panels that contain the GUI's do not appear properly (they're out o fposition and are the wrong size). I've tried to use repaint and validate but they dont seen to be working.
Can anyone help please?
My code:
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!