S
Sanny
I have created an applet that has 20-30 images.
I want all of them to be put in one archive file. and I just display
the archive file in applet.
<applet code="HelloWorld.class" width="800" height="600"
archive="Helloworld.jar">
I found somewhere I can omit the .class prefix.
<applet code="HelloWorld" width="800" height="600"
archive="Helloworld.jar">
My images are on the same directory as the classfile.
How to create a .jar file in eclipse?
I tried to Export in Eclipse It gives two options.
1. Export -> Create Archive file.
2. Export -> Java -> Create Jar
Do they both are the same things?
Can I create .zip instead of .jar will that work with applets?
<applet code="HelloWorld" width="800" height="600"
archive="Helloworld.jip">
I found Eclipse gives no option to add images to the .jar file. Can I
use winzip to create a zip/ jar file?
How to include all images in the .jar file.
Incase I use .zip and compression will it work on all browsers.
I find it asks for Manifest File? What is this? What information can I
give to Manifest file? What will happen If I do not give manifest
file. As my applet already know the class to start with?
Once I create the .jar file Do I have to add the .class files to the
server? Will .jar provide everything the applet needs?
Bye
Sanny
I want all of them to be put in one archive file. and I just display
the archive file in applet.
<applet code="HelloWorld.class" width="800" height="600"
archive="Helloworld.jar">
I found somewhere I can omit the .class prefix.
<applet code="HelloWorld" width="800" height="600"
archive="Helloworld.jar">
My images are on the same directory as the classfile.
How to create a .jar file in eclipse?
I tried to Export in Eclipse It gives two options.
1. Export -> Create Archive file.
2. Export -> Java -> Create Jar
Do they both are the same things?
Can I create .zip instead of .jar will that work with applets?
<applet code="HelloWorld" width="800" height="600"
archive="Helloworld.jip">
I found Eclipse gives no option to add images to the .jar file. Can I
use winzip to create a zip/ jar file?
How to include all images in the .jar file.
Incase I use .zip and compression will it work on all browsers.
I find it asks for Manifest File? What is this? What information can I
give to Manifest file? What will happen If I do not give manifest
file. As my applet already know the class to start with?
Once I create the .jar file Do I have to add the .class files to the
server? Will .jar provide everything the applet needs?
Bye
Sanny