Yes, this is a known problem. Hosted mode doesn't support applets (not
running a real html/javascript page), so you'll have to test your
applet integration on web-mode only.

I do something like this:

if (GWT.isScript()) {   // running on web mode
            applet = new AppletPanel();
}
else {  // running on hosted mode
           applet = // new Dummy panel such as SimplePanel();
}

so that you can test evrything else in hosted mode, and only go to web
mode when you really need to test something on the applet or its
interactions with your other widgets.


On Feb 16, 8:54 am, DAve <smith.davi...@gmail.com> wrote:
> I'm writing a GWT app that embeds a Java applet (for legacy reasons).
> Whenever I try to run it in Hosted Mode, the host browser crashes, so
> I have to compile it and load it in a real browser, slowing down my
> development process and preventing me from using the step-through
> debugger.
>
> Is this a known problem? Is there a workaround?
>
> Thanks,
> Dave
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to