I've been incredibly curious about how to display the download progress of an applet. I'm using Java Web Start, JOGL, and a few other libraries right now, and when I load up my applet it displays a progress bar and the Java logo. What does this progress bar represent, is it the download progress of all my libraries and Jars?

If not, how would I go about setting up a download progress bar for my applet? I've looked into class loaders but that seems to cover only the loading of my main applet, and not any libraries it's using. There doesn't seem to be a whole lot of documentation on this issue and I'm really not sure where to start.

I am curious though, my applet loads up almost instantly when run through the IDE and when run in a web page offline, but as soon as I run the applet in a browser online, my loading animation for the applet plays much longer. The loading animation I created plays for about 0.5 seconds offline, and it plays for about a minute online. What could be causing something like this, is something downloading after the java logo loader?

I believe that is the case, but the animation I've got playing right when the applet starts is a small rotating gear, which changes to a larger rotating gear with a progress bar for loading the assets into memory after JOGL loads up. The java logo loader appears first, stays up for about 5 seconds, then immediately goes to the small rotating gear which stays on for about a minute when online, about 0.5 seconds offline. That's why I've been led to believe that once my little animated gear pops up, downloading continues to happen.

For my applet structure I pretty much have a Jar with all the game code and resources in it. Then, I have a lib folder alongside the jar which contains all the libraries I'm using including MySQL, an Audio library, etc.

Well as I said, the loading of jars and native code is already taken care of by that Java icon with the rotating blue squares. If it takes 1 minute to load audio, images, and other resources then so be it, you can't really boost their download speeds But when the Java logo and JOGL loading gears are done, that means they've finished loading all vital code and have started executing your code.

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org