File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes Applet not refreshing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet not refreshing" Watch "Applet not refreshing" New topic
Author

Applet not refreshing

Nelson Nadal
Ranch Hand

Joined: Jun 06, 2002
Posts: 169
What is the best way to quickly reflect the new compiled applet?
Everytime I changed my applet program its not reflected. I need to rename the applet to see it. I do delete files and clear history in browsers options but it still doesnt help. Thanks.
Rob Ross
Bartender

Joined: Jan 07, 2002
Posts: 2205
The best way is to quit and restart the browser. The problem is that once the browser's JVM loads your applet class, it won't be unloaded until the JVM quits.
During testing, you could also try using the appletviewer; it might make your code-compile-test cycle go a little faster.


Rob
SCJP 1.4
Nelson Nadal
Ranch Hand

Joined: Jun 06, 2002
Posts: 169
Thanks Bob. I'll try the appletviewer instead. Even I quit browser and restart it, the same thing happened.
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Moving this to the Applets forum...


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Applet not refreshing