简体   繁体   English

Java 小程序与应用程序

[英]Java Applet vs Application

I'm using Java for some time now, so I'm quite familiar with it, BUT for my Barchelor thesis I may be doing Java Applet, and that is something i have never worked with.我现在使用 Java 已经有一段时间了,所以我对它非常熟悉,但是对于我的 Barchelor 论文,我可能正在做 Java Applet,这是我从未使用过的。 I know that Applet runs from browser and that it has no access to user filesystem, etc... What i need to know is are there any differences when writing code ?我知道 Applet 从浏览器运行并且它无法访问用户文件系统等......我需要知道的是在编写代码时有什么区别吗?

Project leader told me, that we would like to have someone with experience with Applets.项目负责人告诉我,我们希望有一个有 Applet 经验的人。 It is that big difference between them ?他们之间有那么大的区别吗? Can i handle this (master Applets) in one week ?我可以在一周内处理这个(主小程序)吗?

Project name is "Path Planning Algorithms Visualisation" and that's all i know about it for now.项目名称是“路径规划算法可视化”,这就是我现在所知道的。

If you are using Java Applet, then you won't have to deal with things like JSP, HTML, CSS, JAVA Script.如果您使用的是 Java Applet,那么您将不必处理诸如 JSP、HTML、CSS、JAVA Script 之类的事情。 Everything is done in Java.一切都是在Java中完成的。 You can use NetBeans to make your life easier to focus on functionality and no the details of the UI.您可以使用 NetBeans 使您的生活更轻松地专注于功能而不是 UI 的细节。

I don't think you'll need to "master" anything.我认为你不需要“掌握”任何东西。 You might have to override some methods like init() or paint().您可能必须覆盖某些方法,例如 init() 或paint()。 All the code will be java of course, and you'll have to do some html configuration to load the applet and reference classes.当然所有的代码都是java,你必须做一些html配置来加载applet和引用类。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM