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: Monday, November 30, 1998 6:29 PM
Subject: Re: Modal Dialog within applets

Thor Erik Karlsen wrote:
 And how do I use this to keep a doalog in FRONT of my applet?
It will be modal for your browser's frame (since this is the parent you 'll get), that is for your entire  applet (it is my understanding that this was your original problem ).

You can use it like :
 public FilterBuilderDialog( Component parent, CommandExecutor.FilterBuilder builder )
  throws AWTException
 {
  super( AppletUtilities.getTopLevelParent( parent ), false );

  setTitle( title_ );
 
  builder_ = builder;
  _createComponents();
 
  addWindowListener( new WindowAdapter()
         {
          public void windowClosing( WindowEvent evt )
          {
           dispose();
          }
         });

 
  pack();
  show();

  setResizable( false );
 
 }

This is an actual example that worx in my case. (a constructor from a dialog class)
 

If you still have problems, let me know.

Reply via email to