JGoodies Looks :: User's Guide :: Plastic Options
Author: Karsten Lentzsch
Description: The JGoodies Looks make your Swing apps and applets look better.
Keywords: JGoodies Looks Java Look Feel Swing UI Design Usability Lentzsch Kiel
Date: 2003-07-31

# :: Plastic Options :: ## Plastic Tabbed Pane Style You can choose between two styles for Plastic tabs: a flat Plastic style vs. the Metal L&F tabs. The default is the Plastic style. Make sure you set the style before you set the Plastic l&f in the UIManager! You can choose one of:
       PlasticLookAndFeel.setTabStyle(PlasticLookAndFeel.TAB_STYLE_DEFAULT_VALUE);
       PlasticLookAndFeel.setTabStyle("Default");
       PlasticLookAndFeel.setTabStyle(PlasticLookAndFeel.TAB_STYLE_METAL_VALUE);
       PlasticLookAndFeel.setTabStyle("Metal");
Also, you can preset this option under the System property key `Plastic.tabStyle`, in a command line:
       java -DPlastic.tabStyle=Metal -jar ...
## Plastic Focus Color Contrast You can choose between two styles for Plastic focus colors: low vs. high contrast; the default is low. You can choose one of:
       PlasticLookAndFeel.setHighContrastFocusColorsEnabled(true);
## Custom Color Themes You can create and use custom Plastic themes; they must subclass `com.jgoodies.looks.plastic.PlasticTheme`. ## Plastic Scroll Bar Max Bump Width You can set a global property to set a maximum width for the Plastic scroll bar bumps. For example, the Plastic theme Desert Bluer uses this effect.
(c) 2014 JGoodies |  |