doModal  
Author Message
Eitan M





PostPosted: 2007-8-15 18:12:00 Top

java-programmer, doModal Hello.

How can I open a JFrame as a modal dialog box ?

Thanks :)


 
Daniel Dyer





PostPosted: 2007-8-15 18:15:00 Top

java-programmer >> doModal On Wed, 15 Aug 2007 11:12:09 +0100, Eitan M <email***@***.com>
wrote:

> Hello.
>
> How can I open a JFrame as a modal dialog box ?
>

Why not use JDialog instead?

Dan.

--
Daniel Dyer
http://www.uncommons.org
 
Thomas Kellerer





PostPosted: 2007-8-15 18:16:00 Top

java-programmer >> doModal Eitan M wrote on 15.08.2007 12:12:
> Hello.
>
> How can I open a JFrame as a modal dialog box ?

Taking the questions into account that you have posted so far you should really
start off with a Swing/Java Tutorial. Check java.sun.com for a start and learn
to read the API's Javadocs.

Thomas