blob: 1a95575ef3117bdd0eb9d36b6070ee0a00e3ccb0 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>New Master/Detail Form Wizard: Master Table</title>
<link rel="stylesheet" href="ide.css" title="Oracle BLAFDoc" type="text/css"/>
</head>
<body>
<p><a id="gui.masterdetail-wizard.master" name="gui.masterdetail-wizard.master"></a></p>
<div id="NBCSH2330"><!-- infolevel="all" infotype="General" --><a id="sthref319" name="sthref319"></a>
<h1>New Master/Detail Form Wizard: Master Table</h1>
<a name="BEGIN" id="BEGIN"></a>
<p>Use to create a new master/detail form that displays master-detail data from a database.</p>
<p>You open the New Master/Detail Form wizard by opening the New File wizard and selecting the Swing GUI Forms category and the Master/Detail Sample Form file type.</p>
<p>In the Master Table page, you must set the following properties:</p>
<table summary="User interface elements and descriptions" dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0">
<col width="24%" />
<col width="*" />
<thead>
<tr align="left" valign="top">
<th align="left" valign="bottom" id="r1c1-t12">Element</th>
<th align="left" valign="bottom" id="r1c2-t12">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t12" headers="r1c1-t12">
<p>Database Connection</p>
</td>
<td align="left" headers="r2c1-t12 r1c2-t12">Specifies connection information for the database from which you want to capture the table (i.e., the location of the database, which driver to use, the username and password information). Either choose an existing database connection, or provide details for creating a new connection to a specific database.
<p><b>Note</b>: By default, an APP database sample is configured when you open the IDE.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r3c1-t12" headers="r1c1-t12">
<p>Database Table</p>
</td>
<td align="left" headers="r3c1-t12 r1c2-t12">Specifies the table of the database that you want to display master-detail data from.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r4c1-t12" headers="r1c1-t12">
<p>Available Columns</p>
</td>
<td align="left" headers="r4c1-t12 r1c2-t12">Contains the list of database columns that are not included into the table you create.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r5c1-t12" headers="r1c1-t12">
<p>Columns To Include</p>
</td>
<td align="left" headers="r5c1-t12 r1c2-t12">Contains the list of database columns that are included into the table you create. By default all columns are listed here. Select a column and click the left arrow button, to remove the column you select from the right pane. You can use the arrow buttons to add or remove columns from the lists.
<p><b>Note</b>: Use the Up and Down buttons to place the elements in the required order in the list.</p>
</td>
</tr>
</tbody>
</table>
<br />
<!-- -->
<p>Click <b>Next</b> to confirm the columns selection and specify the detail options for the form you want to create.
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG1039">
<param name="text" value="<html><u>More</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<a id="NBCSH2335" name="NBCSH2335"></a>
<hr><p><b>Related Topics</b></p>
<p><i>Developing Applications with NetBeans IDE</i>,
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG2669">
<param name="text" value="<html><u>&quot;About Developing Enterprise Applications&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<p>Developing Applications with NetBeans IDE,
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG1821">
<param name="text" value="<html><u>&quot;Setting Up a Database Connection&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<!-- -->
<!-- Start Footer -->
<table summary="" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left" width="86%"><a href="legal_notice.htm">
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.</a>
</td>
</tr>
</table>
<!-- -->
</body>
</html>