This section describes how to write a program that uses the Host Access Beans. For information on how to use the Host Access Beans in a JavaBean Visual Development Environment such as Sun's BeanBox or IBM's VisualAge for Java, see Using Host Access Beans in Visual Development Environments.
Note: | The examples described below are available as part of the toolkit ; other beans sample programs can also be used -- please refer to the \samples\AllBeans\Readme for more information. |
Let's walk through two sample programs that use the Host Access Beans and the Screen Customizer Beans. Both samples show simple wiring between the main terminal bean and the KeyPad bean. The first sample will use the Terminal bean as the main terminal. The Terminal bean is a traditional emulator GUI. The second sample will use the CustomTerminal bean as the main terminal. The CustomTerminal bean is installed with Screen Customizer and allows you to display customized screens generated with Screen Customizer.