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);