开发者

Java application vs. Java applet

Hey guys I created this pacman game in Java. I would like to put in on my website so people can play on there. Howev开发者_如何转开发er I have never done any applets, nor do I know javascript. Is there a way to automatically convert the project into an applet? Or do I have to code it from scratch?


What is it written in ? If it is in AWT or Swing then you putting it in an Applet is just a packaging issue ( http://java.sun.com/applets/ ). You can also look at http://java.sun.com/developer/technicalArticles/Programming/jnlp/ which allows you to run a Java App from a web page If you are good at Swing you might want to look at GWT (Google Web Toolkit) which is an API very similar to Swing that translates into javascript to run natively on a browser.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜