This topic describes these ways to insert a component from the JDeveloper Component Palette into a UI container you create.
When you visually add a component in the Java Visual Editor, JDeveloper generates an instance variable for the component and adds it to the source code. When you delete a component, the Java Visual Editor deletes the associated lines from the code.
To add a component to your UI using the mouse:
OR
Dragging to a specific size is only appropriate when layouts for a container that consider individual component dimensions. Ultimately, the layout manager for each container in your UI will determine its components' size and position.
OR
To add a component to your container using only keystokes:
The inserted component appears in the top, lefthand corner of the UI container. You may use the Property Inspector to size and position the inserted component.
To add multiple instances of a component:
Click the arrow tool in the Component Palette to turn off multiple object creation.
Customizing the
Component Palette
Adding a JavaBeans Component to the Palette
Removing a Component from the Palette
Copyright © 1997, 2004, Oracle. All rights reserved.