Example usage for com.jgoodies.looks.plastic PlasticLookAndFeel IS_3D_KEY

List of usage examples for com.jgoodies.looks.plastic PlasticLookAndFeel IS_3D_KEY

Introduction

In this page you can find the example usage for com.jgoodies.looks.plastic PlasticLookAndFeel IS_3D_KEY.

Prototype

String IS_3D_KEY

To view the source code for com.jgoodies.looks.plastic PlasticLookAndFeel IS_3D_KEY.

Click Source Link

Document

Client property key to disable the pseudo 3D effect.

Usage

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