Creating an applet-based player.
创建基于applet的播放器。
The applet itself is simple, as Listing 3 shows.
applet本身很简单,如清单 3 所示
Listing 13: Beginninig of code for an Editor applet class.
列表13:Editorapplet类的开头代码。
This plain XHTML document deploys the applet in three ways.
普通XHTML文档用三种方式部署这个applet。
The embedded applet appears in the bottom half of the shot.
嵌入的applet显示在整个窗口的下半部。
The Services applet displaying the MemoryStatus service.
图一显示MemoryStatus服务的服务控制面板。
Archive: the JAR file used to locate the executable applet class.
archive:用来定位可执行applet类的JAR文件。
Figure 4 shows the applet player accessed from Internet explorer.
图4显示了在Internet Explorer中访问applet播放器的效果。
The JVM on the user's machine starts, and the viewer applet executes.
启动用户机器上的JVM,执行查看器 applet。
The author of the Web page writes the code for a program to run as an applet.
网页的作者编写了作为applet运行的程序代码。
Browsers encountering the code in Listing 4 first try to load the Flash applet.
遇到清单4中的代码后,浏览器首先尝试加载Flash applet。
That is how this applet allows several sets of content to alternate in one pane.
这也就是applet使多组控件在一个面板内切换显示的方法。
What steps are involved in running an applet under the control of a web browser?
在浏览器的控制下运行applet的步骤?
Figure 5 shows the same applet player from a client using the Netscape 7 browser.
图5显示了从客户端使用Netscape 7访问同一个applet播放器的效果。
As a result, the end users will have no idea there is an applet on the page at all.
因此,最终用户根本不知道页面中有一个Applet。
Another useful property of the buttons in this applet is the selected property.
Editor applet中另一个有用的按钮属性是selected。
First, take a look at the request you're ultimately going to make from the applet.
首先看一看最终由applet发出的请求。
Notice that this typical HTML page includes an applet tag that calls the applet code.
注意,通常HTML页面都包含用来调用applet代码的applet标签。
First, let's start at looking at the HTML code for just embedding our applet in a page.
首先,让我们查看仅用于将Applet嵌入到页面中的HTML代码。
To test the Editor applet, you need to be able to get and set the color in this control.
为了测试Editorapplet,您需要在控件中获得并设置颜色。
If you choose a color in this control, the text in the Editor applet appears in that color.
如果您在控件中选择了颜色,Editorapplet中的文本会显示所选的颜色。
We will start by using a very simple applet that will make use of our data-access code.
首先使用一个非常简单的Applet,该Applet将使用数据访问代码。
As with the applet sandbox, this guarantees that a malicious application cannot do any harm.
如同使用applet沙箱(sandbox),这样可以保证恶意的应用程序不能造成任何破坏。
A small, stripped down version of the viewer — an applet — is downloaded to the user's machine.
将一个小的、简化版的查看器(一个applet)下载到用户的机器上。
The four containers are the Web container, EJB container, client container and applet container.
四个容器是web容器、ejb容器、客户端容器和applet容器。
The applet author publishes an HTML Web page that includes a reference to the compiled applet.
applet的编写者在HTML网页文件中包含了已编译的applet文件的引用。
If you refresh the contents of the Services applet, you will see that service status is stopped.
如果你更新服务控制面板的内容,会发现服务状态是已经停止。
Prior to transmission, the applet server signs an applet JAR file using its digital certificate.
在传输之前,applet服务器用其数字证书对appletJAR文件进行签名。
Prior to transmission, the applet server signs an applet JAR file using its digital certificate.
在传输之前,applet服务器用其数字证书对appletJAR文件进行签名。
应用推荐