java - 小程序和 SWING 有什么区别?

标签 java swing applet

小程序和 SWING 有什么区别?

最佳答案

参见 Applets

An applet is a program written in the Java programming language that can be included in an HTML page, much in the same way an image is included in a page. When you use a Java technology-enabled browser to view a page that contains an applet, the applet's code is transferred to your system and executed by the browser's Java Virtual Machine (JVM).

参见 Swing (Java)

Swing is a widget toolkit for Java. It is part of Sun Microsystems' Java Foundation Classes (JFC) — an API for providing a graphical user interface (GUI) for Java programs.

Swing was developed to provide a more sophisticated set of GUI components than the earlier Abstract Window Toolkit. Swing provides a native look and feel that emulates the look and feel of several platforms, and also supports a pluggable look and feel that allows applications to have a look and feel unrelated to the underlying platform.

关于java - 小程序和 SWING 有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1919410/

相关文章:

java - 尝试通过 html 文件加载 java applet

java - 不支持的 major.minor 版本 52.0

java - 需要从实体管理器获得不止一个结果

java - 合法地将开源库包含在程序中

java - 避免Java反序列化中的重复对象

java - 关闭/退出子框架而不关闭父框架

java - CORBA COS 命名服务存储

Java Swing 自定义布局问题

java - 如何使用 JFileChooser 保存文件?

Web Applett 中的 Java MSCAPI 错误?