When an applet is run in debug mode, output in console that a cached version of the applet is being loaded.

A number of people were having problems with applets not updating, this was due to them leaving the cache tag on by mistake, hopefully this should alert them earlier and avoid time being wasted in tracking the issue.
This commit is contained in:
kappa1 2009-03-10 15:34:38 +00:00
parent a33207320d
commit 6b0b033162
1 changed files with 4 additions and 0 deletions

View File

@ -581,6 +581,10 @@ public class AppletLoader extends Applet implements Runnable, AppletStub {
if (latestVersion <= readVersionFile(dir)) {
cacheAvailable = true;
percentage = 90;
if(debugMode) {
System.out.println("Loading Cached Applet Version " + latestVersion);
}
debug_sleep(2000);
}
}