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 .
"People who are unable to motivate themselves must be content with mediocrity , no matter how impressive their other talents " -Andrew Carnegie
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) .
"People who are unable to motivate themselves must be content with mediocrity , no matter how impressive their other talents " -Andrew Carnegie
Looky! I'm being abducted by space aliens! Me and this tiny ad!
a bit of art, as a gift, the permaculture playing cards