The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
September 2000



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.



Posted by yogesh soood on September 13, 2000 at 10:49 AM

I invoke a dialog box from a frmae through WindowClosing Event whenever user tries to close frame a dialog box appears ask for confirmation.i.e whether u want to quit or not ...
if user press yes program is terminated nif user press no i want that dialog to be invisible not parent frame but as i write setVisible(false) in dialog box code when no button is present it applicable to whole frame i.e parent Frame become inactive.

pls help me.
how to deactivate dialog box without deactivating parent frame when dialog box is activated through windowclosing method of


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us