多个applet在一个jar文件中,在一个页面上的多个小应用程序? [英] multiple applets in one jar file, multiple applets on one page?
本文介绍了多个applet在一个jar文件中,在一个页面上的多个小应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我最近开始开发小程序。
我想知道是否有可能:
-
封装在一个JAR文件中的applet
如果是的话,我该怎么办呢?
如果没有,为什么不呢? (即技术原因) -
在同一页上使用多个小程序
如果是的话,怎么办我引用一个特定的applet从存档,在我的网页?
如果没有,为什么不呢? (即技术原因)
是否有我需要知道对于上述任一任何陷阱?
解决方案
- 是您可以在一个JAR包许多小程序。只是包括所有的小程序的类。
- 是的,你可以做到这一点,每次引用一个不同的类名。
这里的细节applet标记。
I have recently started developing applets.
I want to know if it is possible to:
package multiple applets in one jar file if yes, how do I do this ? if no, why not ? (i.e. technical reason)
use multiple applets on the same page if yes, how do I reference a particular applet from an archive, in my page? if no, why not ? (i.e. technical reason)
Are there any gotchas I need to be aware of for either of the above?
解决方案
- Yes you can package many applets in one jar. Just include all the Applet's classes.
- Yes, you can do that by referencing a different class name each time.
Read here for the details of the applet tag.
这篇关于多个applet在一个jar文件中,在一个页面上的多个小应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文