Results 1 to 7 of 7
- 10-20-2008, 11:56 AM #1
Member
- Join Date
- Oct 2008
- Posts
- 4
- Rep Power
- 0
Applet works on Windows, Ubuntu and Mac, but not on Redhat and Fedora
Hi,
I am having an applet which uses AWT and has a functionality of opening up a web page dynamically. The applet also has its own menu bar. This functionality works fine on Windows, Mac and Ubuntu client machines, but the menu bar goes away when I open the web page using same functionality on Redhat 5 and Fedora 9 client machines. Moreover I am also getting an InterruptedThread exception on these machines.
For security reasons I cannot share the code. Please guide me to resolve this issue.
Thanks,
Bhaskar.
- 10-20-2008, 02:43 PM #2
Does your browser show an error message in its Java console?
Copy and paste it here.
What versions of java are on the different machines?
What version of java was the applet compiled with?
- 10-20-2008, 04:10 PM #3
Member
- Join Date
- Oct 2008
- Posts
- 4
- Rep Power
- 0
All my Linux client machines are using Sun JVM 1.6.0_07 and Mozilla Firefox 3 with Sun Java 6 plug-in. Applet is compiled with Java 1.4
The browser shows an Interruptedthread Exception on the console. The stack trace is as follows.
java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at XXX.YYY.SomeClass1.method(SomeClass1.java:503)
at XXX.YYY.SomeClass2.run(SomeClass2:130)
Sorry I cannot share the code. I hope this gives you some idea.
- 10-20-2008, 04:46 PM #4
Have you read the API doc for the wait() method? You get that interrupt if a wait is interrupted.
How does your code handle interupts for the wait at line 503?
Does your code execute an interrupt against the thread that is waiting?
- 10-22-2008, 07:57 AM #5
Member
- Join Date
- Oct 2008
- Posts
- 4
- Rep Power
- 0
- 10-22-2008, 02:38 PM #6
I also have noticed differences for java 1.6. Perhaps someone that is up to date on the new version can explain.
- 10-22-2008, 05:05 PM #7
Member
- Join Date
- Oct 2008
- Posts
- 4
- Rep Power
- 0
Similar Threads
-
Signed applet works only with jre 1.6u10 beta...
By smartizzz in forum Java AppletsReplies: 0Last Post: 08-07-2008, 07:54 AM -
IE crashing on windows 2003 64 bit OS while loading applet java 6
By DevzAbhi in forum Advanced JavaReplies: 0Last Post: 07-29-2008, 01:19 PM -
To run Netbeans on Linux Fedora 8
By rorootot in forum NetBeansReplies: 11Last Post: 07-22-2008, 04:23 AM -
how compareTo Method works
By nanaji in forum Advanced JavaReplies: 1Last Post: 06-22-2008, 07:40 PM -
Create Windows, Applet & Swing
By Eric in forum AWT / SwingReplies: 1Last Post: 07-05-2007, 06:36 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks