List of usage examples for com.jgoodies.looks.plastic PlasticLookAndFeel IS_3D_KEY
String IS_3D_KEY
To view the source code for com.jgoodies.looks.plastic PlasticLookAndFeel IS_3D_KEY.
Click Source Link
From source file:org.qedeq.gui.se.main.QedeqMenuBar.java
License:Open Source License
/** * Constructor./*from w w w . j ava 2s . co m*/ * * @param controller Controller reference. * @param options GUI options to create look specific design. */ public QedeqMenuBar(final QedeqController controller, final GuiOptions options) { this.controller = controller; putClientProperty(Options.HEADER_STYLE_KEY, options.getMenuBarHeaderStyle()); putClientProperty(PlasticLookAndFeel.BORDER_STYLE_KEY, options.getMenuBarPlasticBorderStyle()); putClientProperty(WindowsLookAndFeel.BORDER_STYLE_KEY, options.getMenuBarWindowsBorderStyle()); putClientProperty(PlasticLookAndFeel.IS_3D_KEY, options.getMenuBar3DHint()); add(createFileMenu()); add(createCheckMenu()); add(createTransformMenu()); add(createToolsMenu()); add(createHelpMenu()); }