⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jb4-1-13.htm

📁 这是一个JAVA的教学课件,详细的讲解了JAVA的内容
💻 HTM
📖 第 1 页 / 共 4 页
字号:
&quot;Times New Roman&quot;">。再双击应用程序图标。</span></p>

<p class="MsoNormal" style="margin-left:39.0pt;text-indent:-18.0pt;mso-list:l1 level1 lfo1;
tab-stops:list 39.0pt"><span lang="EN-US">5、<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp; </span></span><span  
style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">在</span><span lang="EN-US">Application Wizard</span><span  
style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">(应用程序向导)中指定包名和类名。再点击</span><span lang="EN-US">Finish</span><span
style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">按纽。</span></p>

<p class="MsoNormal" style="margin-left:39.0pt;text-indent:-18.0pt;mso-list:l1 level1 lfo1;
tab-stops:list 39.0pt"><span lang="EN-US">6、<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp; </span></span><span  
style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">选择</span><span lang="EN-US">Design tab</span><span  
style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">设计页激活用户界面设计器。</span></p>

<p class="MsoNormal" style="margin-left:39.0pt;text-indent:-18.0pt;mso-list:l1 level1 lfo1;
tab-stops:list 39.0pt"><span lang="EN-US">7、<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp; </span></span><span  
style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">点击选择组件画板</span><span lang="EN-US">DataExpress</span><span
style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">标签页中的数据库组件。然后点击选择组件树或通过用户界面设计器将其添加至应用程序中。</span></p>

<p class="MsoNormal" style="margin-left:39.0pt;text-indent:-18.0pt;mso-list:l1 level1 lfo1;
tab-stops:list 39.0pt"><span lang="EN-US">8、<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp; </span></span><span  
style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">先选择</span><span lang="EN-US">Inspector</span><span
style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">(查看器)中</span><span lang="EN-US">connection</span><span
style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">属性项,再点击选择该项中出现的省略号按纽。打开</span><span lang="EN-US">connection   
property editor</span><span  
style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:&quot;Times New Roman&quot;">(连接属性编辑器)的操作就是这样实现的。然后是设置</span><span
lang="EN-US">JdataStore</span><span
style="font-family:宋体;mso-ascii-font-family:
&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">例程中表</span><span lang="EN-US">EMPLOYEE</span><span
style="font-family:宋体;mso-ascii-font-family:
&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">的连接属性,就象下面要做的那样。<table border="1" cellspacing="0" cellpadding="0">
<tr>
<th style="background-color: #000080"><font color="#FFFFFF"></font></span><span style="background-color: #000080; mso-ascii-font-family: Times New Roman; mso-hansi-font-family: Times New Roman"><font color="#FFFFFF" size="2">Property name</font></span></th>  
<th style="background-color: #000080"><span style="background-color: #000080; mso-ascii-font-family: Times New Roman; mso-hansi-font-family: Times New Roman"><font color="#FFFFFF" size="2">Value</font></span></th>
</tr>

<tr>
<td><span
style="mso-ascii-font-family: Times New Roman; mso-hansi-font-family: Times New Roman"><font size="2">Driver</font></span></td>
<td><span
style="mso-ascii-font-family: Times New Roman; mso-hansi-font-family: Times New Roman"><font size="2">com.borland.datastore.jdbc.DataStoreDriver</font></span></td>
</tr>

<tr>
<td><span
style="mso-ascii-font-family: Times New Roman; mso-hansi-font-family: Times New Roman"><font size="2">URL</font></span></td>
<td><span
style="mso-ascii-font-family: Times New Roman; mso-hansi-font-family: Times New Roman"><font size="2">Browse to your copy of <code>/jbuilder/samples/JDataStore/datastores/employee.jds</code> </font></span> </td> 
</tr>

<tr>
<td><span
style="mso-ascii-font-family: Times New Roman; mso-hansi-font-family: Times New Roman"><font size="2">Username</font></span></td>
<td><span
style="mso-ascii-font-family: Times New Roman; mso-hansi-font-family: Times New Roman"><font size="2">Enter your name</font></span></td> 
</tr>

<tr>
<td><span
style="mso-ascii-font-family: Times New Roman; mso-hansi-font-family: Times New Roman"><font size="2">Password</font></span></td>
<td><span
style="mso-ascii-font-family: Times New Roman; mso-hansi-font-family: Times New Roman"><font size="2">not required</font></span></td> 
</tr>
</table><span
lang="EN-US">URL</span><span
style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:&quot;Times New Roman&quot;">(资源定位)项指向指定安装定位(或译为路径)。如果</span><span
lang="EN-US">Jbuilder</span><span
style="font-family:宋体;mso-ascii-font-family:
&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">安装在不同路径下,就要将</span><span
lang="EN-US">URL</span><span
style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:&quot;Times New Roman&quot;">(资源定位)项指向正确的安装定位。在连接属性编辑器对话框中包含了一个按纽,名位</span><span
lang="EN-US">Test Connection</span><span  
style="font-family:宋体;mso-ascii-font-family:
&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">(连接测试)。点击这个按纽并确证连接属性已被正确设置。测试连接的结果显示在状态区。连接成功后,点击选择</span><span
lang="EN-US">OK</span><span
style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:&quot;Times New Roman&quot;">按纽。如连接失败,就参照</span><span lang="EN-US">Connecting to a   
database</span><span
style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:&quot;Times New Roman&quot;">(连接数据库)一部分内容并确保完成所有步骤。</span>

<p class="MsoNormal" style="margin-left:39.0pt;text-indent:-18.0pt;mso-list:l1 level1 lfo1;
tab-stops:list 39.0pt"><span lang="EN-US">9、<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp; </span></span><span  
style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">点击选择</span><span lang="EN-US">DataExpress</span><span
style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">标签页上的</span><span lang="EN-US">QueryDataSet</span><span
style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">组件,再点击组件树或用户界面设计器将之添加到设计器中。在查看器中选择组件</span><span
lang="EN-US">QueryDataSet</span><span
style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">的</span><span lang="EN-US">query</span><span
style="font-family:
宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">属性项,再点击选择出现的省略号按纽打开</span><span
lang="EN-US">QueryDescriptor</span><span
style="font-family:宋体;mso-ascii-font-family:
&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">查询描述器对话框。设置属性如下:<table border="1" cellspacing="0" cellpadding="0">
<tr>
<th style="background-color: #000080"></span><span
style="mso-ascii-font-family: Times New Roman; mso-hansi-font-family: Times New Roman"><font color="#FFFFFF" size="2">Property name</font></span></th> 
<th style="background-color: #000080"><font color="#FFFFFF" size="2"><span
style="mso-ascii-font-family: Times New Roman; mso-hansi-font-family: Times New Roman">Value</span></font></th>
</tr>

<tr>
<td><span
style="mso-ascii-font-family: Times New Roman; mso-hansi-font-family: Times New Roman"><font size="2">Database</font></span></td>
<td><code><font size="2"><span
style="mso-ascii-font-family: Times New Roman; mso-hansi-font-family: Times New Roman">database1</span></font></code></td>
</tr>

<tr>
<td><span
style="mso-ascii-font-family: Times New Roman; mso-hansi-font-family: Times New Roman"><font size="2">SQL Statement</font></span></td> 
<td><kbd><font size="2"><span
style="mso-ascii-font-family: Times New Roman; mso-hansi-font-family: Times New Roman">SELECT * FROM EMPLOYEE</span></font></kbd></td> 
</tr>
</table>

<p class="MsoNormal" style="margin-left:39.0pt"><span
style="font-family:宋体;
mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">点击按纽</span><span
lang="EN-US">Test Query</span><span  
style="font-family:宋体;mso-ascii-font-family:
&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">(查询测试)以确保查询能够运行。</span><span
lang="EN-US">Status area</span><span  
style="font-family:宋体;mso-ascii-font-family:
&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">(状态区)指示测试成功后,点击按纽</span><span
lang="EN-US">OK</span><span
style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:&quot;Times New Roman&quot;">关闭对话框。</span></p>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -