下载本文包含的演示应用程序。
演示应用程序做了什么
请参阅演示应用程序的更多细节。
第2部分的重点是向我们的演示应用程序添加编辑特性。
Part 2 will focus on adding editing features to our presentation application.
在第1部分中,您运行了几个与RI绑定的演示应用程序。
In Part 1, you ran a couple of the demo applications that are bundled with the RI.
在安装4ss时,植入脚本将自动安装在演示应用程序中。
The populate script is automatically installed into your demo application when 4ss is installed.
加载演示应用程序后,运行jps并注意返回的vmid。
After you load up your demo app, run JPS and note the returned vmid.
这一节的其余部分将指导您完成先前构造的演示应用程序的打包过程。
The rest of this section steps you through this process for the demo application you just constructed.
实际上,这个程序是人们学习Rails时使用到的一个演示应用程序。
In fact, it's one of the demo applications that people use when learning Rails.
接下来,您需要编译包含的演示应用程序源代码,然后创建JAR文件。
Next, you need to compile the included source code for the demo application and then create the JAR file.
下载整个解决方案,包括源代码和演示应用程序下面的截图所示。
Download the whole solution which includes the source code and the demo application shown on the screenshots below.
在作者的公司Web服务器上可以看到经过改进的演示应用程序的运行情况。
See the retrofitted demo application in action on the author's company Web server.
要设计TreeViewer演示应用程序,您必须创建节点类作为数据模型。
To design a TreeViewer demo application, you must create your node class as your data model.
您将在屏幕映像中看到与本文下载文件中提供的演示应用程序相关的特定构件名称。
You will see specific artifact names in the screen images related to the demonstration application that is provided in the download file included with this article.
一个简单的例子可以演示应用程序在与主机操作系统交互时使用大页带来的资源节约。
A simple example can illustrate the potential savings for applications that use larger pages when interacting with the host operating system.
应用程序的正式版本将会在应用程序包中包括数据,但演示应用程序却没有。
The shipping version of the app will include a version of the data in the application bundle, but the demo does not.
要运行演示应用程序,需要展开压缩文件,然后执行demoapp . jar文件。
To run the demo application, you expand the compressed file and execute the demoapp.jar file.
要真正地运行演示应用程序,惟一要做的就是启动该应用程序,这一点值得注意。
To actually run the demo application, it's worth noting that the only thing you should have to do is to start the application.
在这个分类中,我们将销售从高级自定义的视频播放器,到库,再到演示应用程序的所有东西。
In this category, we'll be selling everything from advanced and custom video players, to libraries, to presentation apps.
您还可以添加按钮来更改幻灯片的类型,并添加用户在一个演示应用程序中经常发现的其他功能。
You could also add buttons to change the slide type as well as many other functions that users are accustomed to finding in a presentation application.
在阅读下文前,您应该从演示应用程序主页下载完整的EAR文件,该文件包括源代码。
Before continuing, you should download the complete EAR file, including source code from the demo home page.
要运行这个演示应用程序,需要在应用服务器上配置一个xa数据源和一个非xa数据源。
To run the demo application, configure an XA datasource and a non-XA datasource in your application server.
这个演示应用程序向你展示了如何在一个窗体中,使用一幅图片和一个标签来模仿一个标题栏。
This demo app shows you how to use a picture and a label to simulate a title bar on a form.
图1显示了演示应用程序的一个面板,其中包括几种常用组件类型,如输入域、单选按钮、复选框和按钮。
Figure 1 shows one panel of the demonstration application, containing several common component types such as entry fields, radio buttons, check boxes, and buttons.
因此,您知道这个演示应用程序将在未安装完整的ApacheDerby数据库软件的计算机上运行。
As a result, you know that this demo application will work on a computer on which the full Apache Derby database software is not installed.
虽然简单,但是这个演示应用程序演示了嵌入式ApacheDerby应用程序的主要要求。
While simple, this demo application demonstrates the main requirements for an embedded Apache Derby application.
此类负责管理数据库连接,包括建立初始连接和创建演示应用程序要访问的ProductDAO实例。
This class is responsible for managing the database connection, which includes establishing the initial connection and creating a ProductDAO instance for the demo application to access.
在本部分中,我们将创建简单的标准数学运算(如加法和乘法)库,并将演示应用程序如何使用此库。
In this section, we will create a simple library of standard math operations such as addition and multiplication, and we will show how applications can use this library.
图5展示了由使用Gourmet2Go演示应用程序和注册服务的用户在几次会话期间收集到的数据。
Figure 5 shows the data, gathered during several sessions by users which have been using the Gourmet2Go demo and the registered services.
图2是演示应用程序的另一个面板,它包含更复杂的组件类型,如分割窗格、树和显示HTML内容的编辑器窗格。
Figure 2 is another panel of the demonstration application, containing more complex component types such as split panes, trees, and an editor pane showing HTML content.
应用推荐