Hi,

I have an applet that launches other two applets in SEPERATE
browsers. Wheneever any one applet launches a MODAL dialog, 
I am not able to click in second applet which is in different
browser !!!! Hows this possible ? How MODAL behaviour spans 
ACRROSS browsers ?

As you know, to make a dialog modal, you have to pass owner "Frame"
instance ( see JDialog contructors ). I am getting this instance
with following code:

    public static Frame getRootFrame(Component component) {
        Component c = component;

        while(c != null) {
            if( c instanceof Frame )
                return (Frame)c;

            c = c.getParent();
        }

        return new Frame();
    }


does any body know whats going wrong ?

rgds,
Peter

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to