Resources

SAS® AppDev Studio 3.0 Developer's Site

Adding Components to a Frame

You can build the interface for your applet or application by dragging and dropping components onto a frame.

To add a component to a frame:

  1. From the Palette Selector, select the type of components you want to use (for example, Swing or AWT).
  2. Select the category of components that you want to use. For example, to add a check box component when either the AWT palette or the Swing palette is in use, click the Selector tab.
  3. Drag the component over the frame and drop it in the desired location.
  4. Size and position the component as needed.

Because components are displayed at build time using the layout manager, dropping components onto the correct container can be difficult since containers sometimes provide no visible drop area. To precisely drop components in this situation, drag from the component palette with the right mouse button. When you drop the component, a menu of containers will appear from which you can select the proper container.

For information about setting component properties and creating a custom Java component, see the webAF online Help.