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.

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

When you are finished, the VisualAge Visual Composition Editor window should look like Figure 7.

Figure 7. Finished bean example.