jdk/src/share/classes/javax/swing/plaf/metal/OceanTheme.java
changeset 4272 f4742294ef29
parent 2 90ce3da70b43
child 5506 202f599c92aa
equal deleted inserted replaced
4271:35fc7add4925 4272:f4742294ef29
    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),