how to destroy a JFrame without do exit(0)
807589Jul 2 2008 — edited Jul 2 2008Hi, I have several JFrames, all are related, for example:
jfrm1 is the default one, if the user press jbtcontinue jfrm2 is created, then if jbutton ok is pressed jfrm3 is created and so on...
My question is: how can I destroy jfrm1 one jfrm2 is created, but without exit totally, I mean, using System.exit(o). in fact i think I need to destroy just the instance (frm1) but i don't know how to do that, please help me with this.
thanks a lot