equal
deleted
inserted
replaced
30 import java.util.*; |
30 import java.util.*; |
31 import javax.swing.*; |
31 import javax.swing.*; |
32 import javax.swing.plaf.*; |
32 import javax.swing.plaf.*; |
33 import sun.swing.SwingUtilities2; |
33 import sun.swing.SwingUtilities2; |
34 import sun.swing.PrintColorUIResource; |
34 import sun.swing.PrintColorUIResource; |
|
35 import sun.swing.SwingLazyValue; |
35 |
36 |
36 /** |
37 /** |
37 * The default theme for the {@code MetalLookAndFeel}. |
38 * The default theme for the {@code MetalLookAndFeel}. |
38 * <p> |
39 * <p> |
39 * The designers |
40 * The designers |
126 * |
127 * |
127 * @param table the defaults table, non-null |
128 * @param table the defaults table, non-null |
128 * @throws NullPointerException if {@code table} is {@code null} |
129 * @throws NullPointerException if {@code table} is {@code null} |
129 */ |
130 */ |
130 public void addCustomEntriesToTable(UIDefaults table) { |
131 public void addCustomEntriesToTable(UIDefaults table) { |
131 Object focusBorder = new UIDefaults.ProxyLazyValue( |
132 Object focusBorder = new SwingLazyValue( |
132 "javax.swing.plaf.BorderUIResource$LineBorderUIResource", |
133 "javax.swing.plaf.BorderUIResource$LineBorderUIResource", |
133 new Object[] {getPrimary1()}); |
134 new Object[] {getPrimary1()}); |
134 // .30 0 DDE8F3 white secondary2 |
135 // .30 0 DDE8F3 white secondary2 |
135 java.util.List buttonGradient = Arrays.asList( |
136 java.util.List buttonGradient = Arrays.asList( |
136 new Object[] {new Float(.3f), new Float(0f), |
137 new Object[] {new Float(.3f), new Float(0f), |