It can be a real pain to get an applet to reload in a browser. You have to turn off the temporary storage and then relaunch the browser. I've found much to my annoyance that IE will still display the old applet even after deleting the temporary internet files and relaunching...meaning that it is storing stuff somewhere else...I've tried to find out where and haven't got it...if someone knows please post.
Netscape on the other hand doesn't seem so sneaky.
Purging temps and re-loading should do it there.
But for initial de-bugging you should be using appletviewer.
Good luck
The appletviewer is not always usable - for example:
- when you communicate with javascript or html objects in your browser
- when your jdk is different then the jdk in the browser and you want to test the compatibility of the applet
- when you redirect the browser from within your applet
- when you want to run the applet within the browser's sandbox
The appletviewer doesn't bother about the surrounding html - it only reads between the applet's start-and end tags.
For most regular applets the appletviewer is indeed the best testing environment.