Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet Jar Download

 
Ashish Pandey
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have created an applet AreaApplet and packaged in AreaApplet.jar file with a manifest file which contains reference to another jar file through the class-path attribute of the manifest file, the name of that file is RectangleArea.jar file (This file contains an utility class which has been utilized in my applet).

The applet tag just refers the jar file for the Applet i.e: AreaApplet.jar, In this case will the classes in the RectangleArea.jar file be downloaded from the internet with the applet or will be downloaded from the internet when they are required to be loaded on the JVM.
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

I don't know the answer, but it's quite easy to test, isn't it? In case it doesn't work you can always reference both jar files in the applet tag.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic