Re: Modal Dialog within applets

1998-11-30 Thread Thor Erik Karlsen
THANKS!! Its working! I have spent DAYS to solve this problem, I have tried everything. I know who to ask if I got more problems like this   Thor Erik Karlsen -Original Message-From: Dimitris Vyzovitis <[EMAIL PROTECTED]>To: Thor Erik Karlsen <[EMAIL PROTECTED]>Date:

Re: Modal Dialog within applets

1998-11-27 Thread Dimitris Vyzovitis
You can simply find out which the top level parent frame is. THis is how you can do it : public static Frame getTopLevelParent (Component component) {     Component c = component;     while (c.getParent() != null)     c = c.getParent();     if (c instanceof Frame)    

Re: Modal Dialog within applets

1998-11-26 Thread Carlos Alberto Roman Zamitiz
I used Symantec's Visual Cafe and I created a PasswordDialog (a Modal Dialog with 2 textfields: login and password. Visual Cafe contains 2 classes, which it uses for creating PasswordDialogs: ModalDialog and DialogBox. DialogBox contains the following: --- import java.awt.Butt

Modal Dialog within applets

1998-11-26 Thread Thor Erik Karlsen
I have an applet that shows a dialog that is supposed to be modal. Since the only way i have found to display a dialog within an applet, is to create a parent frame for the dialog, the dialog wont be modal for the applet, only for the frame. Because of this the dialog isnt modal within the