PDA

View Full Version : Applet over components



shortpasta
6 Sep 2009, 6:29 PM
I have a LayoutContainer that, in order to render an applet, does this in its constructor:


{
final com.google.gwt.user.client.ui.Frame frame =
new com.google.gwt.user.client.ui.Frame ();
frame.setUrl ("http://localhost:8080/renderApplet");
frame.setWidth ("800");
frame.setHeight ("600");
add (frame);
}


The applet renders fine, except for the usual applet z-order problem: if I open another component like a menu, any part of that component that component that intersects with the applet is not visible.
See the attached ext-gwt_firefox_applet_over_menu.jpg where you can see the context menu text for my tab being cut out.


I followed http://www.extjs.com/forum/showthread.php?t=61746 and tried this with no luck:


GXT.useShims = true;


I looked at http://www.extjs.com/forum/showthread.php?t=61394 and other threads; I also googled it but could not find anything that works...

I tested and verified that this problem exists with Mozilla Firefox and Google Chrome.
IE 6 seems to work fine.

Any ideas on how to get this to work?