Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 585
  • Last Modified:

Work-around for JSObject.getWindow(applet) browser freezes?

I have an application that makes use of some custom Java applets.  I did not write them and would prefer to avoid changing them if at all possible.  These applets are fairly simple and are used many (20+) times on any given HTML page.  They are essentially special buttons that control hardware behind the scenes.  These applets all call JSObject.getWindow(applet) to get a handle to the browser window.  This application runs fine under the Microsoft VM, but completely crashes when using the Sun VM.  When I comment out all but one of the applets on a page, it will run.  When I add them back, it freezes IE.

I've searched for easy work-arounds to this issue but I have not found any yet.  There are many discussions (newsgroups, forums, and even another question on experts exchange) that touch on the issue, but not one seems to give a final "this will work" answer.  I'm using the Sun 1.5.0_07 JRE.
0
dfu23
Asked:
dfu23
3 Solutions
 
CEHJCommented:
Try recompiling them
0
 
WebstormCommented:
To clarify CEHJ's advice : recompile the classes using Sun compiler (J2SE SDK) 1.5.0
0
 
objectsCommented:
if they're got MS specific code then theres not much you can do.
Have u pinpointed exactly what line of code causes the problem?
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now