Java Reference
In-Depth Information
Figure 19.8
User tab of the Bean Builder window displays the beans you load from
JAR files.
If a JavaBean is a GUI component, what you see in the builder tool is the
actual component. Because the Movie bean is not a GUI component, the
Bean Builder displays it in a small rectangular region so that you can still
visually hook the Movie bean to other beans in the builder tool. This is
strictly for convenience and other Bean Builder tools may handle non-GUI
beans differently.
The small boxes around the corners and in the center of the Movie bean in
Figure 19.9 are for resizing and moving the bean. The small boxes that are off-
center of the edges of the Movie bean are for hooking this bean to other beans
in the builder tool, which I will discuss in the next step. When the Movie bean
is selected, its properties appear in the Property Inspector window of the Bean
Builder, as shown in Figure 19.10.
Figure 19.9
Movie bean instantiated in the Bean Builder.
Search WWH ::




Custom Search