You can use the Create JClient Panel wizard or the Create JClient Empty Panel wizard to quickly create a single table data panel. While the Create JClient Panel wizard generates a complete data panel that you can add to a frame in your application, the JClient Empty Panel wizard contains no control bindings. Both wizards generate the code needed to initialize a JClient panel binding.
After you add the new panel class to your JClient project, you can modify the application code to display the panel from an existing panel.
To create a Business Components project:
Create a project for your Business Components.
In order to use business components with your JClient forms, you must first create a project with a Business Components application module.
To add single table data panel using the Create JClient Panel wizard:
In the Navigator, click on the JClient project to which you want to add the data panel.
Choose File | New to locate the Create JClient Panel wizard in the New Gallery.
In the Categories list, expand Client Tier and select Swing/JClient for ADF .
In the Items list, select Panel and click OK to launch the JClient Panel wizard.
In the Template Selection page, choose the layout of the form.
In the Data Model page, select the same client data model used by your application's other data panels and click Next.
In the following pages, make selections appropriate to specify the data your panel is to display. Click the wizard Help button for additional help.
Click Finish.
To add a JClient data panel using the JClient Empty Panel wizard:
In the Navigator, click on the JClient project to which you want to add the empty data panel.
Choose File | New to locate the Create JClient Empty Panel wizard in the New Gallery.
In the Categories list, expand Client Tier and select Swing/JClient for ADF .
In the Items list, select Empty Panel and click OK to launch the Create JClient Empty Panel wizard.
In the Data Model page, select an the same client data model used by your application's finished data panels and click Next.
Click the wizard Help button for additional help.
Supply a class name for the new empty data panel and click Finish.
You can open the new panel class in the Java Visual Editor and add the desired controls.
To link the completed JClient data panel with your application:
After you have created a new JClient data panel, you can reuse the data panel in your application by:
Copyright © 1997, 2004, Oracle. All rights reserved.