• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
 
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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) .
 
Looky! I'm being abducted by space aliens! Me and this tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic