Example usage for com.jgoodies.looks.plastic PlasticScrollBarUI MAX_BUMPS_WIDTH_KEY

List of usage examples for com.jgoodies.looks.plastic PlasticScrollBarUI MAX_BUMPS_WIDTH_KEY

Introduction

In this page you can find the example usage for com.jgoodies.looks.plastic PlasticScrollBarUI MAX_BUMPS_WIDTH_KEY.

Prototype

String MAX_BUMPS_WIDTH_KEY

To view the source code for com.jgoodies.looks.plastic PlasticScrollBarUI MAX_BUMPS_WIDTH_KEY.

Click Source Link

Usage

From source file:com.mirth.connect.client.ui.MirthTheme.java

License:Open Source License

public void addCustomEntriesToTable(UIDefaults table) {
    super.addCustomEntriesToTable(table);
    Object[] uiDefaults = { PlasticScrollBarUI.MAX_BUMPS_WIDTH_KEY, new Integer(30), };
    table.putDefaults(uiDefaults);/*w w w  .ja  va 2s . co m*/
}

From source file:org.adempiere.plaf.AdempiereTheme.java

License:Open Source License

public void addCustomEntriesToTable(UIDefaults table) {
    super.addCustomEntriesToTable(table);
    Object[] uiDefaults = { "ScrollBar.thumbHighlight", getPrimaryControlHighlight(),
            PlasticScrollBarUI.MAX_BUMPS_WIDTH_KEY, new Integer(22), PlasticScrollBarUI.MAX_BUMPS_WIDTH_KEY,
            new Integer(30),
            //"TabbedPane.selected", getWhite(),
            "TabbedPane.selectHighlight", new ColorUIResource(231, 218, 188), ExtendedTheme.ERROR_BG_KEY, error,
            ExtendedTheme.ERROR_FG_KEY, txt_error, ExtendedTheme.INACTIVE_BG_KEY, inactive,
            ExtendedTheme.INFO_BG_KEY, info, ExtendedTheme.MANDATORY_BG_KEY, mandatory };
    table.putDefaults(uiDefaults);/*from   w w w  . j  av a 2 s. co m*/
}