Posted by chatmaster
on March 3, 2009 at 11:21 AM PST
I have a very common solution, a Swing applet loaded from a Jar file. It all works fine except for 2 points.
1. There is no way to indicate download progress to user.
I have seen a myriad of ways to show progress to user but not for a single Jar file.
I tried creating an applet stub that loads the required Jar file. This part worked but as far as I can tell there's no way to add this to the classpath (please say if you know it can or can't be done). Also it creates ugly code with an applet nested inside another applet.
2. There is no way to prevent or redirect users with JRE 1.1 from accessing the applet using the Sun recommended Applet tag.
I know this can be solved using the object tags so it's not a great problem, but it's not even mentioned by Sun in the tutorials or their guides. Is it usual to use Object tags to prevent this?
My setup has to be the most common setup - so surely there needs to be a common way to deal with these problems faced by pretty much every developer (and have been around for 5 years).
I would like to create an open source applet loader which deal with both these problems, but I'm struggling with this.
Anyone got any input into how to deal with this?