
455The Java Frame
findjobj presentation of a toolbar with non-standard controls (See color insert.)
Readers are referred to Section 4.5, where toolbar creation and customization is extensively
discussed.
7.3.6 FigureMenuBar and Docking Controls
FigureMenuBar contains the gure’s menu. It can be accessed directly as so:
>> jMenuBar = jFrame.fHG1Client.getMenuBar
†
jMenuBar =
com.mathworks.hg.peer.FigureMenuBar[,0,0,543x21,layout = javax.swing.plaf.basic.
DefaultMenuLayout,alignmentX = . . .,paintBorder = true]
FigureMenuBar is basically just a container for MJMenuItems and MJMenus.
MJMenus are displayed as cascading submenus, as shown below ...