1 30 31 package com.jgoodies.looks.plastic.theme; 32 33 import javax.swing.UIDefaults ; 34 import javax.swing.plaf.ColorUIResource ; 35 36 import com.jgoodies.looks.plastic.PlasticScrollBarUI; 37 38 44 public class SkyPink extends AbstractSkyTheme { 45 46 public String getName() { 47 return "Sky Pink"; 48 } 49 50 protected ColorUIResource getPrimary1() { 51 return Colors.PINK_LOW_DARK; 52 } 53 54 protected ColorUIResource getPrimary2() { 55 return Colors.PINK_LOW_MEDIUM; 56 } 57 58 protected ColorUIResource getPrimary3() { 59 return Colors.PINK_LOW_LIGHTER; 60 } 61 62 public ColorUIResource getHighlightedTextColor() { 63 return getControlTextColor(); 64 } 65 66 public void addCustomEntriesToTable(UIDefaults table) { 67 super.addCustomEntriesToTable(table); 68 Object [] uiDefaults = 69 { PlasticScrollBarUI.MAX_BUMPS_WIDTH_KEY, new Integer (30), }; 70 table.putDefaults(uiDefaults); 71 } 72 73 } 74 | Popular Tags |