It seems like it loads some more things after the start of the applet:
1 2 3 4 5 6 7
| LineOfSightApplet: contructor begin network: Cache entry not found [url: http:network: Connecting http:network: Connecting http:. . . |
Uh huh! Thanks

I never knew about setting the trace level on the console. Well that explains the 5 second gap - the URLClassLoader is downloading the classes it needs to do the run method. Pity there's no way to load them all before hand without manually doing 'loadClass(classNameString)' for each class. Hm, the time taken for the URLClassLoader to download each little class separately must be pretty inefficient.
I have not been able to use v2 of the boot, because I can't access resources as I used to.
1
| Thread.currentThread().getContextClassLoader().getResourceAsStream(resource) |
dosen't find the stuff from "BOOTJARS". The console just freezes, but I think that is the problem. I guess they are only available from another thread/classloader. Not sure if I made some mistake somewhere along the line. Suggestions are welcome. I guess it might be time for me to learn about classloaders...
Maybe try accessing them directly from the URLClassLoader which loads the rest of your app?
It's declared in this line:
1
| ucl = ((URLClassLoader) Thread.currentThread().getContextClassLoader()).newInstance(urlJars); |
Then call
1
| ucl.getResourceAsStream(resource); |