Solved

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

Posted on 2006-07-16
5
570 Views
Last Modified: 2012-03-15
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
Comment
Question by:dfu23
5 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 168 total points
Comment Utility
Try recompiling them
0
 
LVL 13

Assisted Solution

by:Webstorm
Webstorm earned 166 total points
Comment Utility
To clarify CEHJ's advice : recompile the classes using Sun compiler (J2SE SDK) 1.5.0
0
 
LVL 92

Assisted Solution

by:objects
objects earned 166 total points
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
How Complex Is This Java Course ? 9 62
countHi2 challenge 7 42
solarwind tftp server 2 30
advertisement module in core php 4 76
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now