You can assemble an ADF JClient form using existing data panels from your current project or you can insert a new empty data panel which you can lay out with specific controls.
Note: The panel that you intend to reuse within another
JClent panel must belong to the same project. This will make the reused
panel's data binding information available to the application through
the UIModel.xml file.
To add a data panel to a JClient Empty Form:
If the form is not already open, expand the JClient project in the Navigator, and open the JClient form you want to customize.
If the form is not already displayed in the Visual Editor, click the Design tab.
If the Component Palette is not visible, choose View | Component Palette to display the list of Swing controls.
From the Swing page of the Component Palette, select Custom to open the class browser dialog.
In the class browser dialog, select JClient DataPanel from the Class type dropdown.
This selection ensures the dialog displays only JClient panels from your project.
Select the JClient panel you want to reuse and click OK. The mouse cursor changes to a cross.
In the Visual Editor, drag a rectangle inside the open JClient form where you want to insert the JClient panel.
The JClient panel that you add to a JClient form receives its
databinding from the ADF binding container. When
setBindingContext() is called on the form, the binding container
for the form is created together with the panel's binding container.
Note, dropping multiple instances of the same panel on the form will require modifications to the panels' binding container reference. It will be necessary to first release the container from it's current view before reusing it in another instance.
About JClient-Specific Controls
Working with Components in a Container
Copyright © 1997, 2004, Oracle. All rights reserved.