This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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