The Essential JViews Framework > Framework JavaBeans > Creating a Simple Applet Using ILOG JViews Beans > Adding a Control Toolbar Bean

You will now add a toolbar that allows the user to control the zoom level of the view and to pan the view.

To do so:

  1. Click the IlvJManagerViewControlBar icon images/IlvJManagerViewControlBarColor16.gif on the ILOG JViews Beans toolbar.
  2. Drag it into the form designer.

images/step7.gif

Figure 3.8 The Control toolbar in the Form Designer
You must now associate the toolbar with the view by setting the View property of the toolbar.
  1. Verify that the IlvJManagerViewControlBar object is selected so that its property sheet is active.
  2. Select ilvManagerView1 in the value field of the View property as seen below:

images/step8.gif

Figure 3.9 Associating the toolbar with the View