eWebProgrammer
Distributednetworks GofPatterns
prev Course navigation
Customizing a Bean at design time with the BeanBox

Objective: Customize the BlueButton Bean at design time with the Bean Box
  1. Launch the BeanBox by executing the run.bat file in the beanbox directory beneath the main Bdk directory.
    (Remember: the JDK's bin directory must be included in your system path in order for the BeanBox to work correctly.)
  2. In the ToolBox window, click on the text BlueButton.
    Note that the mouse pointer has changed to a crosshair.
  3. Move the crosshair over the BeanBox window.
  4. Click in the BeanBox window to insert the bean.
The BlueButton Bean now appears in the BeanBox window. You can now customize the bean.
  1. Click the blue box in the Properties window. The ColorEditor appears.
  2. Click the arrow to the right of the word blue.
    A drop-down menu appears.
  3. Click on the orange; menu item.
    The BlueButton bean is now orange.
  4. Close the ColorEditor window.
  5. In the Properties window, click in the label field.
    Delete the word press.
  6. In the label field, type Push me!.

The BeanBox should now contain an orange button with a Push me! label.
Image

Click the Submit button to return to the lesson page.