mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-14 07:47:12 -06:00
ScrollBar: make hoverTrack and hoverThumb fields protected to allow subclasses implement own painting (issue #103)
This commit is contained in:
@@ -73,8 +73,8 @@ public class FlatScrollBarUI
|
|||||||
protected Color buttonDisabledArrowColor;
|
protected Color buttonDisabledArrowColor;
|
||||||
|
|
||||||
private MouseAdapter hoverListener;
|
private MouseAdapter hoverListener;
|
||||||
private boolean hoverTrack;
|
protected boolean hoverTrack;
|
||||||
private boolean hoverThumb;
|
protected boolean hoverThumb;
|
||||||
|
|
||||||
public static ComponentUI createUI( JComponent c ) {
|
public static ComponentUI createUI( JComponent c ) {
|
||||||
return new FlatScrollBarUI();
|
return new FlatScrollBarUI();
|
||||||
|
|||||||
Reference in New Issue
Block a user