Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

refreshing GUI  RSS feed

 
Sanjeev Rathore
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a CardLayout that sits in the CENTER of BorderLayout. I use JComboBox to switch between the cards. How do I refresh the card after the input has been taken, so that result can be displayed in the same area where the card was. I have tried remove, repaint nothing seems to work right. The previous GUI sits on top of the new GUI and it looks like an abstract art work. All I want is to make previous GUI disappear and new GUI to appear. Please help!
skrathor@yahoo.com
------------------
sanjeev
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!