Visual bean builder code example

This example uses the IBM VisualAge for Java Enterprise Edition V2.0 Composition Editor, but other visual bean builders are similar. This example creates an applet for a button that, when pressed, runs a command on an AS/400.

VisualAge Visual Composition Editor window - gui.BeanExample.
VisualAge Visual Composition Editor window - gui.BeanExample

When you are finished, the VisualAge Visual Composition Editor window should look like the figure below.

VisualAge Visual Composition Editor window - Finished bean example.
VisualAge Composition Editor window - Finished bean example