Solved

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

Posted on 2006-07-16
5
571 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
ID: 17120319
Try recompiling them
0
 
LVL 13

Assisted Solution

by:Webstorm
Webstorm earned 166 total points
ID: 17120472
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
ID: 17120584
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Running Jira on Raspberry PI 2? 3 261
Java JRE greater than 1.6 5 50
even odd program using while loop 3 28
MySqlDump not dumping triggers 1 17
For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

911 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

20 Experts available now in Live!

Get 1:1 Help Now