Example: Creating beans with a visual bean builder

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™ 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 might look like Figure 7.

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

VisualAge Composition Editor window - Finished bean example