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 the iSeries or AS/400e server.

Figure 1: 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 Figure 7.

Figure 7: VisualAge Visual Composition Editor window - Finished bean example

VisualAge Composition Editor window - Finished bean example