equal
deleted
inserted
replaced
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 /** |