[导入]applet中导入jar文件

[导入]applet中导入jar文件

Jar文件可以帮助Applet引用其它可用类库,具体Applet标签的用法如下:

<applet code=Animator.class
      archive="jars/mmcnet  .jar"
      width=460 height=160>
      <param name=foo value="bar">
    </applet>

其中archive ="jars/mmcnet.jar"即为引用的外部类库。如果需要引入多个类库,使用","分割文件名如archive="classes.jar ,  images.jar ,  sounds.jar"


文章来源: http://sayyy.bokee.com/3644840.html

你可能感兴趣的:([导入]applet中导入jar文件)