Hi Alex,

you have to use JDialog instead of JFrame
and then do it like this

public Frame getBrowserFrame()
{
 Container cont = 'your applet';

  while(cont != null)
   {
     cont = cont.getParent();

     if(cont instanceof Frame) return (Frame)cont;
   }
   return (Frame)null;
}

JDialog myDialog = new JDialog( getBrowserFrame(), true );

so you will get a browser-modal dialog.

Hope this will help!

Salvador Richter
Web-Applikationsentwickler/Projektleiter

mailto:[EMAIL PROTECTED]
-------------------------------------------- 
in-integrierte informationssysteme GmbH
Am Seerhein 8     
D-78467 Konstanz
http://www.in-gmbh.de
--------------------------------------------
Telefon +49 (0) 7531 - 81 45- 0
Telefax +49 (0) 7531 - 81 45-81  



_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to