When the user discards the window, call a menthod JFrame.hide() to hide the
window and to reveal the window call JFrame.show().

Rohit
----- Original Message -----
From: "Panagiotis Plevrakis" <[EMAIL PROTECTED]>
To: "JDJList" <[EMAIL PROTECTED]>
Sent: Thursday, May 30, 2002 8:13 PM
Subject: [jdjlist] Re: re-running a running class


> I'm not sure I understood your requirement but maybe what you need is as
> simple as calling setVisible(true) and setVisible(false) on the window.
>
> Panos
>
> >
> >I have a small GUI application (SWING). When the users runs it, he gets a
> >JFrame with a message, he may discard this window and the application is
> >still running in the background.
> >
> >My question is how can I set the initiation process in a way that if the
> >application is running already it will reveal that window instead of
> >starting a new "java" process?
> >
> >Thanks!
> >David Treves.
> >
> >To change your membership options, refer to:
> >http://www.sys-con.com/java/list.cfm
>
>
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
> To change your membership options, refer to:
> http://www.sys-con.com/java/list.cfm
>

To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm

Reply via email to