Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet "hangs" after hitting Reload

 
Indrek Sünter
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For some reason after hitting the Reload button in the browser, the whole applet window becomes gray and non-responsive.
However, restarting works - the applet is successfully loaded and run when I re-enter the URL.

The same goes with Eclipse Applet Viewer - the window closes without any errors when I click Reload.
Restart seems to work just fine.

I was even able to reproduce this with an empty applet:



The actual code can be checked out from here:
https://opensvn.csie.org/jazzworm/

I'm using:

Eclipse 3.2.2
Firefox 3.0.7
sun-java6-jre
sun-java6-jdk

All suggestions are welcome,
Thank You
 
Indrek Sünter
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok,

I just found out that it works in Windows Vista at least..

Tested it with IE, Firefox and Opera.

Opera is a bit slow with the applet, but it works.

IE and Firefox are able to handle the Reload correctly.


However, the Eclipse Applet Viewer still crashes (just disappears and leaves all the threads running).

Weird that it didn't work that well in linux. I hope that clients won't have problems with this..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic