Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap

Q4063 Is there a way to reduce the amount of time that it takes to download an applet?

You are here: irt.org | FAQ | Java | Q4063 [ previous next ]

There is a way to reduce the amount of time an applet takes to download. What ever classes the Java applet is refering, you cluster them in a JAR file with the help of JAR utility that comes with the JDK version. Check out the help for the options of that utility and make a ".jar" file out of the applets refered classes and images and other relevent data which you want to load.

Use the archive option of the applet tag and assign the .jar file:

<applet code="xyz.class" archieve="pqr.jar" width=100 height=100>

©2018 Martin Webb