文档

Java™ 教程-Java Tutorials 中文版
Trail: Deployment
Lesson: Java Applets
主页>部署>Java Applets

Applet Development Examples

The following table lists all the examples in the Applets lesson. The first column shows the name of the example. Click on the name of the example to launch the applet. The second column shows a link to a zip file with complete source code. You can open and run the examples in the NetBeans IDE. See Running Tutorial Examples in NetBeans IDE for more information. The third column has a link to the Java Tutorials topic where the example is described in detail.

例子
(click on link to view example)
Zip File
(contains all source files necessary for the example plus NetBeans IDE project metadata)
Where Described
Applet With Customized Loading Progress Indicator applet_AppletWithCustomProgressIndicator
applet_CustomProgressIndicator
webstart_AppWithCustomProgressIndicator(lib directory contains resources required by applet_AppletWithIntegratedProgressIndicator project).
显示自定义加载进度指示器
Applet With Integrated Progress Indicator applet_AppletWithIntegratedProgressIndicator
webstart_AppWithCustomProgressIndicator(lib directory contains resources required by applet_AppletWithIntegratedProgressIndicator project).
显示自定义加载进度指示器
Applet With Parameters applet_AppletWithParameters 定义和使用 Applet 参数
DOM Dump applet_TraversingDOM 操纵 Applet 网页的 DOM
Draggable Applet applet_Draggable 开发可拖动的 Applet
Dynamic Tree Demo Applet applet_ComponentArch_DynamicTreeDemo 开发 Applet
部署 Applet
Hello World applet_HelloWorld Applet 入门
从 JavaScript 代码调用 Applet 方法 applet_InvokingAppletMethodsFromJavaScript 从 JavaScript 代码调用 Applet 方法
Invoking JavaScript Code From Applet applet_InvokingJavaScriptFromApplet 从 Applet 调用 JavaScript 代码
Sender Receiver Applets applet_SenderReceiver 与其他 Applet 通信
Show Document applet_ShowDocument 在浏览器中显示文档
Simple Applet applet_Simple Applet 的生命周期
Status and Event Handler applet_StatusAndCallback 使用事件处理程序处理初始化状态

The AppletTutorialExamples zip file contains the complete set of examples listed in the table.


Previous page: Questions and Exercises: Applets