Java eclipse:如何创建小程序?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4048172/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
eclipse: how to create an applet?
提问by KJW
I have finished writing my applications, and would like to deploy it as a Java applet.
我已经完成了我的应用程序的编写,并希望将它部署为一个 Java 小程序。
How can I start this ?
我该如何开始?
Additionally, how would you deploy it on html page, and pass an argument to the Java applet ?
此外,您将如何将其部署在 html 页面上,并将参数传递给 Java 小程序?
采纳答案by Andrew Thompson
If you merely wish to deploy an app. from a web site, look into Java Web Start. JWS can launch a standard frame (or applet) direct from a link on a web page, and has much fewer hassles, while providing many benefits.
如果您只想部署一个应用程序。从网站,查看Java Web Start。JWS 可以直接从网页上的链接启动标准框架(或小程序),麻烦少得多,同时提供许多好处。
回答by Plaudit Design
Here is a tutorial on how to create an applet in eclipse. http://www.roseindia.net/eclipse/applet-eclipse.shtml
这是一个关于如何在 Eclipse 中创建小程序的教程。http://www.roseindia.net/eclipse/applet-eclipse.shtml