This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTabbed Pane: How to hide the frame containing the tabbed panes

 
sanjay ramaswamy
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am working in a project where i used a tabbed pane which has many tabs in it obviously . my doubt is i dont want to hide one of the panes but the entire frame containing the tabs . i used the setVisible(false) in the actionPerformed() of a submit button in the last tab of the JTabbedPane after which i want to launch a new frame . this way it hides the tabs in the frame and not the frame itself . so once i launch a new frame...i find this frame which contained the tabs also visible but without the tabs in it .so it means this.setVisible(false) that i did in the actionPerformed() does not completely hide the frame which is of my interest . please help urgent .

 
sanjay ramaswamy
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Rob Spoor
Sheriff
Pie
Posts: 20667
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sanjay Jayaram Rao wrote:please help urgent .

Please Ease Up
 
sanjay ramaswamy
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I appreciate your suggestion , will certainly incorporate it henceforth in the future . Thanks for the reply . I have solved the problem with a very crude way by storing the frame that i create in main() and then use the frame.setVisible(false) .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic