• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Netbeans Jlabel visiblity

 
Chilam Salan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi , I have created a java gui using jlabels , I have 2 tabs (Home & About) . In the about tab , I have a button which when I click an icon appears . That works fine , but I have a problem , when I try switching tabs (Go to home tab) and Go back to the about tab , the icon doesn't stay there (disappears) , I have to click again for it to appear ... my question is , is there a way to make the program realize that the button was clicked and it stays there even if I click on different tabs?
 
Campbell Ritchie
Marshal
Posts: 52519
119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

We cannot work out the problem without seeing your code. Please post it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!