Wednesday, January 16, 2013

CoreJava- JNLP & Applet

1. MANIFEST.MF
In addition to class files, images, and other resources, each JAR file contains a  manifest
file that describes special features of the archive. 
The manifest file is called MANIFEST.MF  and is located in a special  META-INF  subdirectory of 
the JAR file. 

从eclipse导出来的jar包还是不能跑的,要修改一下META-INF/MANIFEST.MF

加入Main-Class: packageName/ClassName




2. Apple
<body>
<applet code="NotHelloWorldApplet.class" width="300" height="100" title="Hide this plug-in"></applet>
</body>






No comments:

Post a Comment