jdk/src/share/classes/javax/swing/plaf/metal/MetalDesktopIconUI.java
changeset 25178 dbab904451e9
parent 5506 202f599c92aa
equal deleted inserted replaced
25177:487a5e71f6dd 25178:dbab904451e9
    46     JButton button;
    46     JButton button;
    47     JLabel label;
    47     JLabel label;
    48     TitleListener titleListener;
    48     TitleListener titleListener;
    49     private int width;
    49     private int width;
    50 
    50 
       
    51     /**
       
    52      * Constructs a new instance of {@code MetalDesktopIconUI}.
       
    53      *
       
    54      * @param c a component
       
    55      * @return a new instance of {@code MetalDesktopIconUI}
       
    56      */
    51     public static ComponentUI createUI(JComponent c)    {
    57     public static ComponentUI createUI(JComponent c)    {
    52         return new MetalDesktopIconUI();
    58         return new MetalDesktopIconUI();
    53     }
    59     }
    54 
    60 
       
    61     /**
       
    62      * Constructs a new instance of {@code MetalDesktopIconUI}.
       
    63      */
    55     public MetalDesktopIconUI() {
    64     public MetalDesktopIconUI() {
    56     }
    65     }
    57 
    66 
    58     protected void installDefaults() {
    67     protected void installDefaults() {
    59         super.installDefaults();
    68         super.installDefaults();