JGoodies Looks :: User's Guide :: Plastic 3D Effects
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 3D Effects and 3D Hints :: You can enable or disable the pseudo 3D effect in the JGoodies Plastic and Plastic3D looks for a widget type and for individual widgets:
       UIManager.put("ScrollBar.is3DEnabled", Boolean.FALSE);

       JButton button = new JButton("Flat");
       button.putClientProperty("is3DEnabled", Boolean.FALSE);
The Plastic3D look differs from the Plastic look in that it enables the 3D effects per default for all widgets. However, some Plastic themes, override this default, for example, to use flat scroll bars. In some conditions Plastic will refuse to use a 3D effect, for example, if a JButton paints no border.
(c) 2012 JGoodies |  |