Click to See Complete Forum and Search --> : Dialogs on top in Applets


August 25th, 1999, 04:24 AM
Is there anyway that Dialogs can be made Modal when called in an Applet ?
I have several classes which require input and extend the Dialog class I wish these to stay on top and nullify all other areas of the screen but just now if the user clicks outside the dialogs boundry then the message simply hides behind the browser.

August 25th, 1999, 08:51 AM
Can u try this if u have a netscape naviagtor
getParent().getClass().getSuperclass().getSuperclass() will return a java.awt.Frame (is a Class type object) and use this in the constructor of Dialog.I hope this will not hide ur dialogs
In Explorer u need to explore and see if there exist a Frame