[5458] in java-interest
Re: Modal dialogs? Doesn't seem supported ...
daemon@ATHENA.MIT.EDU (Amy Fowler)
Fri Feb 9 23:23:48 1996
Date: Fri, 9 Feb 1996 18:08:12 -0800
From: Amy.Fowler@Eng.Sun.COM (Amy Fowler)
To: java-interest@java.Eng.Sun.COM, rbk@ibeam.jf.intel.com
>>
>>I'm trying to write a stand-alone Java application with the GUI written in
>>AWT. One of the features I need is the ability to put up a dialog asking
>>the user for some information. Such dialogs need to be "modal", in the
>>sense they are on Win32 - ie, the thread that put up the dialog blocks until
>>the dialog is done, and (ideally) the UI of the parent window doesn't
>>process commands while the modal dialog is open.
>>
>>This doesn't seem to be supported in any reasonable fashion in Java 1.0;
>>java.awt.Dialog has a "modal" boolean in its constructor, but this only
>>seems to mean the window is on top of the creating (parent) window - it
>>doesn't provide the behaviour I want. I have ideas on how to handle this,
>>but it's nowhere near as simple as it should be. The desired behaviour is
>>trivial in VC++ or VB, BTW.
Yes, this is a known serious problem with 1.0. We are working
to resolve it for the next release.
Regards,
Amy Moore-Fowler
Java Products Group
Sun Microsystems, Inc.
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com