Adding further components

You can build more complex applications by adding further JViews Diagrammer beans to the Swing GUI of a basic application.
JViews Diagrammer beans are connected automatically to the currently active IlvDiagrammer instance of the GUI.
To add a bean:
  1. Create the bean.
  2. Add it to your Swing GUI.
    No call is necessary to connect the bean to the IlvDiagrammer instance.
For example, you can make the basic application in A basic application that extends JFrame more complete by adding a menu bar to the frame, and an overview to the right of the panel, as shown in the following code example:
setJMenuBar(new IlvDiagrammerMenuBar());
getContentPane().add(new IlvDiagrammerOverview(), BorderLayout.EAST);