Example usage for com.jgoodies.looks.plastic PlasticTheme LT_BRIGHTEN_STOP

List of usage examples for com.jgoodies.looks.plastic PlasticTheme LT_BRIGHTEN_STOP

Introduction

In this page you can find the example usage for com.jgoodies.looks.plastic PlasticTheme LT_BRIGHTEN_STOP.

Prototype

Color LT_BRIGHTEN_STOP

To view the source code for com.jgoodies.looks.plastic PlasticTheme LT_BRIGHTEN_STOP.

Click Source Link

Usage

From source file:com.floreantpos.swing.ButtonUI.java

License:Open Source License

static void addLight3DEffekt(Graphics g, Rectangle r, boolean isHorizontal) {
    Color ltBrightenStop = UIManager.getColor("Plastic.ltBrightenStop"); //$NON-NLS-1$
    if (null == ltBrightenStop)
        ltBrightenStop = PlasticTheme.LT_BRIGHTEN_STOP;

    add3DEffekt(g, r, isHorizontal, PlasticTheme.BRIGHTEN_START, ltBrightenStop, PlasticTheme.DARKEN_START,
            PlasticTheme.LT_DARKEN_STOP);
}

From source file:com.floreantpos.swing.ButtonUI.java

License:Open Source License

public static void addLight3DEffekt(Graphics g, Rectangle r) {
    Color ltBrightenStop = UIManager.getColor("Plastic.ltBrightenStop"); //$NON-NLS-1$
    if (null == ltBrightenStop)
        ltBrightenStop = PlasticTheme.LT_BRIGHTEN_STOP;

    add3DEffekt(g, r, true, PlasticTheme.DARKEN_START, PlasticTheme.LT_DARKEN_STOP, PlasticTheme.BRIGHTEN_START,
            ltBrightenStop);/*from   ww w .j  a  va 2  s .com*/
}