jdk/src/java.desktop/share/classes/javax/swing/plaf/synth/SynthScrollBarUI.java
changeset 29894 3e16b51732f5
parent 25859 3317bb8137f4
child 37698 4d798c873df0
equal deleted inserted replaced
29893:fb1610d0d75a 29894:3e16b51732f5
     1 /*
     1 /*
     2  * Copyright (c) 2002, 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    46     private SynthStyle thumbStyle;
    46     private SynthStyle thumbStyle;
    47     private SynthStyle trackStyle;
    47     private SynthStyle trackStyle;
    48 
    48 
    49     private boolean validMinimumThumbSize;
    49     private boolean validMinimumThumbSize;
    50 
    50 
       
    51     /**
       
    52      * Returns a UI.
       
    53      * @return a UI
       
    54      * @param c a component
       
    55      */
    51     public static ComponentUI createUI(JComponent c)    {
    56     public static ComponentUI createUI(JComponent c)    {
    52         return new SynthScrollBarUI();
    57         return new SynthScrollBarUI();
    53     }
    58     }
    54 
    59 
    55     /**
    60     /**