diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/button/DarkButtonUI.java b/core/src/main/java/com/github/weisj/darklaf/ui/button/DarkButtonUI.java index 40e0e655..47fd6c45 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/button/DarkButtonUI.java +++ b/core/src/main/java/com/github/weisj/darklaf/ui/button/DarkButtonUI.java @@ -45,7 +45,7 @@ import java.beans.PropertyChangeListener; */ public class DarkButtonUI extends BasicButtonUI implements PropertyChangeListener { - public static final String KEY_PREFIX = "JButton."; + protected static final String KEY_PREFIX = "JButton."; public static final String KEY_VARIANT = KEY_PREFIX + "variant"; public static final String KEY_HOVER_COLOR = KEY_PREFIX + "shadow.hover"; public static final String KEY_CLICK_COLOR = KEY_PREFIX + "shadow.click"; diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/button/DarkToggleButtonUI.java b/core/src/main/java/com/github/weisj/darklaf/ui/button/DarkToggleButtonUI.java index 4d8e5a87..7fef5fb0 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/button/DarkToggleButtonUI.java +++ b/core/src/main/java/com/github/weisj/darklaf/ui/button/DarkToggleButtonUI.java @@ -40,7 +40,7 @@ import java.beans.PropertyChangeListener; */ public class DarkToggleButtonUI extends DarkButtonUI { - public static final String KEY_PREFIX = "JToggleButton."; + protected static final String KEY_PREFIX = "JToggleButton."; public static final String KEY_VARIANT = KEY_PREFIX + "variant"; public static final String KEY_IS_TREE_EDITOR = KEY_PREFIX + "isTreeCellEditor"; public static final String KEY_IS_TREE_RENDER = KEY_PREFIX + "isTreeCellRenderer"; diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/checkbox/DarkCheckBoxMenuItemUI.java b/core/src/main/java/com/github/weisj/darklaf/ui/checkbox/DarkCheckBoxMenuItemUI.java index 673a76a7..cc01aa21 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/checkbox/DarkCheckBoxMenuItemUI.java +++ b/core/src/main/java/com/github/weisj/darklaf/ui/checkbox/DarkCheckBoxMenuItemUI.java @@ -39,7 +39,7 @@ import java.awt.*; */ public class DarkCheckBoxMenuItemUI extends DarkMenuItemUIBase { - public static final String KEY_PREFIX = "CheckBoxMenuItem"; + protected static final String KEY_PREFIX = "CheckBoxMenuItem"; public static final String KEY_NO_NOT_CLOSE_ON_CLICK = KEY_PREFIX + ".doNotCloseOnMouseClick"; private final MouseClickListener clickListener = e -> SwingUtilities.invokeLater(() -> { if (menuItem != null) menuItem.setArmed(true); diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/combobox/DarkComboBoxUI.java b/core/src/main/java/com/github/weisj/darklaf/ui/combobox/DarkComboBoxUI.java index 7cc45aac..0bfe67bd 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/combobox/DarkComboBoxUI.java +++ b/core/src/main/java/com/github/weisj/darklaf/ui/combobox/DarkComboBoxUI.java @@ -48,7 +48,7 @@ import java.beans.PropertyChangeListener; */ public class DarkComboBoxUI extends BasicComboBoxUI implements Border, PropertyChangeListener { - public static final String KEY_PREFIX = "JComboBox."; + protected static final String KEY_PREFIX = "JComboBox."; public static final String KEY_IS_TREE_EDITOR = KEY_PREFIX + "isTreeCellEditor"; public static final String KEY_IS_TABLE_EDITOR = KEY_PREFIX + "isTableCellEditor"; diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/list/DarkListUI.java b/core/src/main/java/com/github/weisj/darklaf/ui/list/DarkListUI.java index 86075c3e..b11371ae 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/list/DarkListUI.java +++ b/core/src/main/java/com/github/weisj/darklaf/ui/list/DarkListUI.java @@ -36,7 +36,7 @@ import java.beans.PropertyChangeEvent; */ public class DarkListUI extends DarkListUIBridge { - public static final String KEY_PREFIX = "JList."; + protected static final String KEY_PREFIX = "JList."; public static final String KEY_ALTERNATE_ROW_COLOR = KEY_PREFIX + "alternateRowColor"; public static final String KEY_RENDER_BOOLEAN_AS_CHECKBOX = KEY_PREFIX + "renderBooleanAsCheckBox"; public static final String KEY_BOOLEAN_RENDER_TYPE = KEY_PREFIX + "booleanRenderType"; diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/progressbar/DarkProgressBarUI.java b/core/src/main/java/com/github/weisj/darklaf/ui/progressbar/DarkProgressBarUI.java index 4e2551db..a1e7ebff 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/progressbar/DarkProgressBarUI.java +++ b/core/src/main/java/com/github/weisj/darklaf/ui/progressbar/DarkProgressBarUI.java @@ -44,7 +44,7 @@ import java.beans.PropertyChangeListener; */ public class DarkProgressBarUI extends BasicProgressBarUI implements PropertyChangeListener { - public static final String KEY_PREFIX = "JProgressBar."; + protected static final String KEY_PREFIX = "JProgressBar."; public static final String KEY_FAILED = KEY_PREFIX + "failed"; public static final String KEY_PASSED = KEY_PREFIX + "passed"; diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/radiobutton/DarkRadioButtonMenuItemUI.java b/core/src/main/java/com/github/weisj/darklaf/ui/radiobutton/DarkRadioButtonMenuItemUI.java index 30c55871..ceea1299 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/radiobutton/DarkRadioButtonMenuItemUI.java +++ b/core/src/main/java/com/github/weisj/darklaf/ui/radiobutton/DarkRadioButtonMenuItemUI.java @@ -36,7 +36,7 @@ import java.awt.*; */ public class DarkRadioButtonMenuItemUI extends DarkMenuItemUIBase { - public static final String KEY_PREFIX = "RadioButtonMenuItem"; + protected static final String KEY_PREFIX = "RadioButtonMenuItem"; public static final String KEY_NO_NOT_CLOSE_ON_CLICK = KEY_PREFIX + ".doNotCloseOnMouseClick"; private final MouseClickListener clickListener = e -> SwingUtilities.invokeLater(() -> { if (menuItem != null) menuItem.setArmed(true); diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/rootpane/DarkRootPaneUI.java b/core/src/main/java/com/github/weisj/darklaf/ui/rootpane/DarkRootPaneUI.java index bda07c8e..27bbb287 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/rootpane/DarkRootPaneUI.java +++ b/core/src/main/java/com/github/weisj/darklaf/ui/rootpane/DarkRootPaneUI.java @@ -46,7 +46,7 @@ import java.beans.PropertyChangeEvent; */ public class DarkRootPaneUI extends BasicRootPaneUI implements HierarchyListener { - public static final String KEY_PREFIX = "JRootPane."; + protected static final String KEY_PREFIX = "JRootPane."; public static final String KEY_IS_POPUP = KEY_PREFIX + "isPopup"; public static final String KEY_IS_TOOLTIP = KEY_PREFIX + "isToolTip"; private Window window; diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/scrollpane/DarkScrollBarUI.java b/core/src/main/java/com/github/weisj/darklaf/ui/scrollpane/DarkScrollBarUI.java index 423e0713..8ed1345d 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/scrollpane/DarkScrollBarUI.java +++ b/core/src/main/java/com/github/weisj/darklaf/ui/scrollpane/DarkScrollBarUI.java @@ -41,7 +41,7 @@ import java.awt.event.*; */ public class DarkScrollBarUI extends BasicScrollBarUI { - public static final String KEY_PREFIX = "JScrollBar."; + protected static final String KEY_PREFIX = "JScrollBar."; public static final String KEY_SCROLL_PANE_PARENT = KEY_PREFIX + "scrollPaneParent"; public static final String KEY_FAST_WHEEL_SCROLLING = KEY_PREFIX + "fastWheelScrolling"; public static final String KEY_THIN = KEY_PREFIX + "thin"; diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/slider/DarkSliderUI.java b/core/src/main/java/com/github/weisj/darklaf/ui/slider/DarkSliderUI.java index 1a220535..f138a5d6 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/slider/DarkSliderUI.java +++ b/core/src/main/java/com/github/weisj/darklaf/ui/slider/DarkSliderUI.java @@ -44,7 +44,7 @@ import java.beans.PropertyChangeListener; */ public class DarkSliderUI extends BasicSliderUI implements PropertyChangeListener { - public static final String KEY_PREFIX = "JSlider."; + protected static final String KEY_PREFIX = "JSlider."; public static final String KEY_THUMB_ARROW_SHAPE = KEY_PREFIX + "paintThumbArrowShape"; public static final String KEY_SHOW_VOLUME_ICON = KEY_PREFIX + "volume.showIcon"; public static final String KEY_VARIANT = KEY_PREFIX + "variant"; diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/spinner/DarkSpinnerUI.java b/core/src/main/java/com/github/weisj/darklaf/ui/spinner/DarkSpinnerUI.java index 2c29e913..b7c56fb5 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/spinner/DarkSpinnerUI.java +++ b/core/src/main/java/com/github/weisj/darklaf/ui/spinner/DarkSpinnerUI.java @@ -48,7 +48,7 @@ import java.beans.PropertyChangeListener; */ public class DarkSpinnerUI extends BasicSpinnerUI implements PropertyChangeListener { - public static final String KEY_PREFIX = "JSpinner."; + protected static final String KEY_PREFIX = "JSpinner."; public static final String KEY_VARIANT = KEY_PREFIX + "variant"; public static final String KEY_IS_TREE_EDITOR = KEY_PREFIX + "isTreeCellEditor"; public static final String KEY_IS_TREE_RENDER = KEY_PREFIX + "isTreeCellRenderer"; diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/splitpane/DarkSplitPaneUI.java b/core/src/main/java/com/github/weisj/darklaf/ui/splitpane/DarkSplitPaneUI.java index 3ee51502..9eb693d1 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/splitpane/DarkSplitPaneUI.java +++ b/core/src/main/java/com/github/weisj/darklaf/ui/splitpane/DarkSplitPaneUI.java @@ -39,7 +39,7 @@ import java.beans.PropertyChangeListener; */ public class DarkSplitPaneUI extends BasicSplitPaneUI implements PropertyChangeListener { - public static final String KEY_PREFIX = "JSplitPane."; + protected static final String KEY_PREFIX = "JSplitPane."; public static final String KEY_STYLE = KEY_PREFIX + "style"; public static final String STYLE_GRIP = "grip"; public static final String STYLE_LINE = "line"; diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/tabbedpane/DarkTabbedPaneUI.java b/core/src/main/java/com/github/weisj/darklaf/ui/tabbedpane/DarkTabbedPaneUI.java index 467d7280..8b963720 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/tabbedpane/DarkTabbedPaneUI.java +++ b/core/src/main/java/com/github/weisj/darklaf/ui/tabbedpane/DarkTabbedPaneUI.java @@ -44,7 +44,7 @@ import java.util.function.Consumer; */ public class DarkTabbedPaneUI extends DarkTabbedPaneUIBridge { - public static final String KEY_PREFIX = "JTabbedPane."; + protected static final String KEY_PREFIX = "JTabbedPane."; public static final String KEY_DND = KEY_PREFIX + "dndEnabled"; public static final String KEY_NORTH_COMP = KEY_PREFIX + "northComponent"; public static final String KEY_WEST_COMP = KEY_PREFIX + "westComponent"; diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/table/DarkTableUI.java b/core/src/main/java/com/github/weisj/darklaf/ui/table/DarkTableUI.java index 9a870e4e..079d6e08 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/table/DarkTableUI.java +++ b/core/src/main/java/com/github/weisj/darklaf/ui/table/DarkTableUI.java @@ -48,7 +48,7 @@ import java.util.function.Supplier; */ public class DarkTableUI extends DarkTableUIBridge { - public static final String KEY_PREFIX = "JTable."; + protected static final String KEY_PREFIX = "JTable."; public static final String KEY_ALTERNATE_ROW_COLOR = KEY_PREFIX + "alternateRowColor"; public static final String KEY_RENDER_BOOLEAN_AS_CHECKBOX = KEY_PREFIX + "renderBooleanAsCheckBox"; public static final String KEY_BOOLEAN_RENDER_TYPE = KEY_PREFIX + "booleanRenderType"; diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/text/DarkPasswordFieldUI.java b/core/src/main/java/com/github/weisj/darklaf/ui/text/DarkPasswordFieldUI.java index 30d2044e..04fc191a 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/text/DarkPasswordFieldUI.java +++ b/core/src/main/java/com/github/weisj/darklaf/ui/text/DarkPasswordFieldUI.java @@ -42,7 +42,7 @@ import java.util.Arrays; */ public class DarkPasswordFieldUI extends DarkPasswordFieldUIBridge { - public static final String KEY_PREFIX = "JPasswordField."; + protected static final String KEY_PREFIX = "JPasswordField."; public static final String KEY_SHOW_VIEW_BUTTON = "JPasswordField.showViewIcon"; protected Icon show; protected Icon showPressed; diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/text/DarkTextFieldUI.java b/core/src/main/java/com/github/weisj/darklaf/ui/text/DarkTextFieldUI.java index 5a970d38..7db6b4e4 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/text/DarkTextFieldUI.java +++ b/core/src/main/java/com/github/weisj/darklaf/ui/text/DarkTextFieldUI.java @@ -45,7 +45,7 @@ import java.beans.PropertyChangeListener; */ public class DarkTextFieldUI extends DarkTextFieldUIBridge implements PropertyChangeListener { - public static final String KEY_PREFIX = "JTextField."; + protected static final String KEY_PREFIX = "JTextField."; public static final String KEY_VARIANT = KEY_PREFIX + "variant"; public static final String KEY_KEEP_SELECTION_ON_FOCUS_LOST = KEY_PREFIX + "keepSelectionOnFocusLost"; public static final String KEY_FIND_POPUP = KEY_PREFIX + "Search.FindPopup"; diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/text/DarkTextUI.java b/core/src/main/java/com/github/weisj/darklaf/ui/text/DarkTextUI.java index 171b81c0..07783224 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/text/DarkTextUI.java +++ b/core/src/main/java/com/github/weisj/darklaf/ui/text/DarkTextUI.java @@ -50,7 +50,7 @@ import java.util.Set; */ public abstract class DarkTextUI extends BasicTextUI implements PropertyChangeListener { - public static final String KEY_PREFIX = "JTextComponent."; + protected static final String KEY_PREFIX = "JTextComponent."; public static final String KEY_ROUNDED_SELECTION = KEY_PREFIX + "roundedSelection"; public static final String KEY_HAS_ERROR = KEY_PREFIX + "hasError"; public static final String KEY_IS_CELL_EDITOR = KEY_PREFIX + "cellEditor"; diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/toolbar/DarkToolBarUI.java b/core/src/main/java/com/github/weisj/darklaf/ui/toolbar/DarkToolBarUI.java index 92bccf1e..c3fd9452 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/toolbar/DarkToolBarUI.java +++ b/core/src/main/java/com/github/weisj/darklaf/ui/toolbar/DarkToolBarUI.java @@ -38,7 +38,7 @@ import java.awt.event.WindowEvent; */ public class DarkToolBarUI extends DarkToolBarUIBridge { - public static final String KEY_PREFIX = "JToolBar."; + protected static final String KEY_PREFIX = "JToolBar."; public static final String KEY_USE_TOOL_BAR_BACKGROUND = KEY_PREFIX + "drag.useToolbarBackground"; private static final Robot robot = createRobot(); diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/tooltip/DarkTooltipUI.java b/core/src/main/java/com/github/weisj/darklaf/ui/tooltip/DarkTooltipUI.java index 74b93380..c03a9096 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/tooltip/DarkTooltipUI.java +++ b/core/src/main/java/com/github/weisj/darklaf/ui/tooltip/DarkTooltipUI.java @@ -45,7 +45,7 @@ import java.beans.PropertyChangeListener; */ public class DarkTooltipUI extends BasicToolTipUI implements PropertyChangeListener, HierarchyListener { - public static final String KEY_PREFIX = "JToolTip."; + protected static final String KEY_PREFIX = "JToolTip."; public static final String KEY_STYLE = KEY_PREFIX + "style"; public static final String KEY_INSETS = KEY_PREFIX + "insets"; public static final String KEY_POINTER_LOCATION = KEY_PREFIX + "pointerLocation"; diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/tree/DarkTreeUI.java b/core/src/main/java/com/github/weisj/darklaf/ui/tree/DarkTreeUI.java index 0a980b86..24da207a 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/tree/DarkTreeUI.java +++ b/core/src/main/java/com/github/weisj/darklaf/ui/tree/DarkTreeUI.java @@ -47,7 +47,7 @@ import java.util.Enumeration; */ public class DarkTreeUI extends BasicTreeUI implements PropertyChangeListener { - public static final String KEY_PREFIX = "JTree."; + protected static final String KEY_PREFIX = "JTree."; public static final String KEY_TREE_TABLE_TREE = KEY_PREFIX + "treeTableTree"; public static final String KEY_ALTERNATE_ROW_COLOR = KEY_PREFIX + "alternateRowColor"; public static final String KEY_RENDER_BOOLEAN_AS_CHECKBOX = KEY_PREFIX + "renderBooleanAsCheckBox";