Browse Source

Formatting fixes

master
Jannis Weis 4 months ago
parent
commit
a3ae840d42
No known key found for this signature in database
GPG Key ID: 7C9D8D4B558049AB
  1. 6
      compatibility/src/main/java/com/github/weisj/darklaf/compatibility/SwingUtil.java
  2. 2
      compatibility/src/main/java/com/intellij/util/ui/MenuItemLayoutHelper.java
  3. 2
      compatibility/src/main/java/com/intellij/util/ui/UIUtilities.java
  4. 2
      core/build.gradle.kts
  5. 2
      core/src/main/java/com/github/weisj/darklaf/DarkLaf.java
  6. 2
      core/src/main/java/com/github/weisj/darklaf/LafManager.java
  7. 2
      core/src/main/java/com/github/weisj/darklaf/LafTransition.java
  8. 2
      core/src/main/java/com/github/weisj/darklaf/components/ArrowButton.java
  9. 2
      core/src/main/java/com/github/weisj/darklaf/components/ComponentHelper.java
  10. 4
      core/src/main/java/com/github/weisj/darklaf/components/JXPopupMenu.java
  11. 2
      core/src/main/java/com/github/weisj/darklaf/components/border/BubbleBorder.java
  12. 2
      core/src/main/java/com/github/weisj/darklaf/components/border/DropShadowBorder.java
  13. 2
      core/src/main/java/com/github/weisj/darklaf/components/iconeditor/IconEditorPanel.java
  14. 2
      core/src/main/java/com/github/weisj/darklaf/components/iconeditor/Named.java
  15. 2
      core/src/main/java/com/github/weisj/darklaf/components/iconeditor/NamedColor.java
  16. 2
      core/src/main/java/com/github/weisj/darklaf/components/iconeditor/NamedInt.java
  17. 2
      core/src/main/java/com/github/weisj/darklaf/components/popup/AttachedPopupComponent.java
  18. 2
      core/src/main/java/com/github/weisj/darklaf/components/renderer/SimpleListCellRenderer.java
  19. 2
      core/src/main/java/com/github/weisj/darklaf/components/tabframe/JTabFrame.java
  20. 2
      core/src/main/java/com/github/weisj/darklaf/components/tabframe/PopupContainer.java
  21. 2
      core/src/main/java/com/github/weisj/darklaf/components/tabframe/TabFrameContentPane.java
  22. 2
      core/src/main/java/com/github/weisj/darklaf/components/text/TextFieldHistoryPopup.java
  23. 2
      core/src/main/java/com/github/weisj/darklaf/components/tooltip/ToolTipContext.java
  24. 2
      core/src/main/java/com/github/weisj/darklaf/components/tristate/TristateCheckBox.java
  25. 2
      core/src/main/java/com/github/weisj/darklaf/defaults/ResourceBundleCache.java
  26. 2
      core/src/main/java/com/github/weisj/darklaf/focus/FocusParentHelper.java
  27. 2
      core/src/main/java/com/github/weisj/darklaf/graphics/Animator.java
  28. 2
      core/src/main/java/com/github/weisj/darklaf/graphics/StringPainter.java
  29. 2
      core/src/main/java/com/github/weisj/darklaf/listener/InsertDocumentListener.java
  30. 2
      core/src/main/java/com/github/weisj/darklaf/settings/RadioColorChooser.java
  31. 2
      core/src/main/java/com/github/weisj/darklaf/settings/ThemeSettings.java
  32. 2
      core/src/main/java/com/github/weisj/darklaf/settings/ThemeSettingsUI.java
  33. 2
      core/src/main/java/com/github/weisj/darklaf/task/CSSBuilder.java
  34. 2
      core/src/main/java/com/github/weisj/darklaf/task/FontDefaultsInitTask.java
  35. 2
      core/src/main/java/com/github/weisj/darklaf/task/ResourceBundleInitTask.java
  36. 3
      core/src/main/java/com/github/weisj/darklaf/ui/DarkPopupFactory.java
  37. 4
      core/src/main/java/com/github/weisj/darklaf/ui/DividedWidgetPainter.java
  38. 2
      core/src/main/java/com/github/weisj/darklaf/ui/cell/ComponentBasedTableCellRenderer.java
  39. 2
      core/src/main/java/com/github/weisj/darklaf/ui/cell/DarkCellBorderUIResource.java
  40. 2
      core/src/main/java/com/github/weisj/darklaf/ui/colorchooser/ColorTriangle.java
  41. 2
      core/src/main/java/com/github/weisj/darklaf/ui/colorchooser/ColorValueFormatter.java
  42. 2
      core/src/main/java/com/github/weisj/darklaf/ui/colorchooser/DarkColorChooserPanel.java
  43. 2
      core/src/main/java/com/github/weisj/darklaf/ui/filechooser/DarkFileChooserUI.java
  44. 2
      core/src/main/java/com/github/weisj/darklaf/ui/list/DarkDefaultListCellRenderer.java
  45. 2
      core/src/main/java/com/github/weisj/darklaf/ui/list/DarkListCellRendererDelegate.java
  46. 2
      core/src/main/java/com/github/weisj/darklaf/ui/list/DarkListUIBridge.java
  47. 2
      core/src/main/java/com/github/weisj/darklaf/ui/menu/DarkMenuBarUI.java
  48. 2
      core/src/main/java/com/github/weisj/darklaf/ui/menu/DarkMenuItemBorder.java
  49. 2
      core/src/main/java/com/github/weisj/darklaf/ui/optionpane/DarkOptionPaneUI.java
  50. 2
      core/src/main/java/com/github/weisj/darklaf/ui/popupmenu/DarkPopupMenuBorder.java
  51. 2
      core/src/main/java/com/github/weisj/darklaf/ui/popupmenu/DarkPopupMenuUI.java
  52. 2
      core/src/main/java/com/github/weisj/darklaf/ui/popupmenu/MouseGrabber.java
  53. 2
      core/src/main/java/com/github/weisj/darklaf/ui/rootpane/PlainRootPaneBorder.java
  54. 2
      core/src/main/java/com/github/weisj/darklaf/ui/scrollpane/ScrollBarUtil.java
  55. 2
      core/src/main/java/com/github/weisj/darklaf/ui/spinner/DarkSpinnerBorder.java
  56. 5
      core/src/main/java/com/github/weisj/darklaf/ui/tabbedpane/DarkTabbedPaneUIBridge.java
  57. 2
      core/src/main/java/com/github/weisj/darklaf/ui/tabframe/DarkTabFrameComponentPopupMenu.java
  58. 2
      core/src/main/java/com/github/weisj/darklaf/ui/tabframe/DarkTabFrameTabLabelUI.java
  59. 2
      core/src/main/java/com/github/weisj/darklaf/ui/tabframe/DarkTabFrameUI.java
  60. 2
      core/src/main/java/com/github/weisj/darklaf/ui/tabframe/TabFrameLayout.java
  61. 2
      core/src/main/java/com/github/weisj/darklaf/ui/table/renderer/DarkTableCellEditor.java
  62. 2
      core/src/main/java/com/github/weisj/darklaf/ui/taskpane/DarkTaskPaneUI.java
  63. 2
      core/src/main/java/com/github/weisj/darklaf/ui/text/DarkCaret.java
  64. 2
      core/src/main/java/com/github/weisj/darklaf/ui/text/bridge/DarkTextAreaUIBridge.java
  65. 2
      core/src/main/java/com/github/weisj/darklaf/ui/titledborder/DarkTitledBorder.java
  66. 2
      core/src/main/java/com/github/weisj/darklaf/ui/togglebutton/ButtonGroupInfo.java
  67. 4
      core/src/main/java/com/github/weisj/darklaf/ui/togglebutton/DarkToggleButtonKeyHandler.java
  68. 2
      core/src/main/java/com/github/weisj/darklaf/ui/togglebutton/ToggleButtonFocusNavigationActions.java
  69. 4
      core/src/main/java/com/github/weisj/darklaf/ui/toolbar/DarkToolBarBorder.java
  70. 2
      core/src/main/java/com/github/weisj/darklaf/ui/toolbar/DarkToolBarUI.java
  71. 6
      core/src/main/java/com/github/weisj/darklaf/ui/tooltip/DarkToolTipUI.java
  72. 2
      core/src/main/java/com/github/weisj/darklaf/ui/tooltip/ToolTipUtil.java
  73. 2
      core/src/main/java/com/github/weisj/darklaf/ui/tree/DarkTreeCellEditor.java
  74. 2
      core/src/main/java/com/github/weisj/darklaf/ui/tree/DarkTreeUI.java
  75. 2
      core/src/main/java/com/github/weisj/darklaf/ui/util/DarkUIUtil.java
  76. 4
      core/src/main/java/com/github/weisj/darklaf/ui/util/SwingXUtil.java
  77. 2
      core/src/main/java/javax/swing/text/DefaultHighlighterDark/DarkHighlightPainter.java
  78. 6
      core/src/main/java/org/pbjar/jxlayer/plaf/ext/MouseEventUI.java
  79. 2
      core/src/main/java/org/pbjar/jxlayer/plaf/ext/TransformUI.java
  80. 2
      core/src/main/java/org/pbjar/jxlayer/plaf/ext/transform/TransformLayout.java
  81. 6
      core/src/main/resources/com/github/weisj/darklaf/nativelaf/mac.properties
  82. 2
      core/src/main/resources/com/github/weisj/darklaf/nativelaf/windows11.properties
  83. 2
      core/src/main/resources/com/github/weisj/darklaf/ui/popupMenu.properties
  84. 2
      core/src/test/java/com/github/weisj/darklaf/core/documentation/CreateUITable.java
  85. 2
      core/src/test/java/com/github/weisj/darklaf/core/test/FontTest.java
  86. 2
      core/src/test/java/com/github/weisj/darklaf/defaults/SafeIcon.java
  87. 2
      core/src/test/java/com/github/weisj/darklaf/icon/AllIconsDemo.java
  88. 2
      core/src/test/java/com/github/weisj/darklaf/icon/IconDemo.java
  89. 2
      core/src/test/java/com/github/weisj/darklaf/ui/DemoLauncher.java
  90. 2
      core/src/test/java/com/github/weisj/darklaf/ui/DemoResources.java
  91. 2
      core/src/test/java/com/github/weisj/darklaf/ui/PreferenceChangeDemo.java
  92. 4
      core/src/test/java/com/github/weisj/darklaf/ui/demo/BaseComponentDemo.java
  93. 2
      core/src/test/java/com/github/weisj/darklaf/ui/demo/DemoExecutor.java
  94. 2
      core/src/test/java/com/github/weisj/darklaf/ui/demo/SpacerSpec.java
  95. 2
      core/src/test/java/com/github/weisj/darklaf/ui/dialog/DialogDemo.java
  96. 2
      core/src/test/java/com/github/weisj/darklaf/ui/list/ListDemo.java
  97. 2
      core/src/test/java/com/github/weisj/darklaf/ui/popupMenu/PopupMenuDemo.java
  98. 2
      core/src/test/java/com/github/weisj/darklaf/ui/progressBar/ProgressBarDemo.java
  99. 2
      core/src/test/java/com/github/weisj/darklaf/ui/scrollPane/OverlayRSyntaxScrollPane.java
  100. 2
      core/src/test/java/com/github/weisj/darklaf/ui/splitPane/SplitPaneDemo.java
  101. Some files were not shown because too many files have changed in this diff Show More

6
compatibility/src/main/java/com/github/weisj/darklaf/compatibility/SwingUtil.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,
@ -45,12 +45,12 @@ import javax.swing.plaf.synth.SynthContext;
import javax.swing.plaf.synth.SynthGraphicsUtils;
import javax.swing.plaf.synth.SynthStyle;
import jdk.swing.interop.SwingInterOpUtils;
import com.github.weisj.darklaf.platform.SystemInfo;
import com.github.weisj.darklaf.util.LogUtil;
import com.intellij.util.ui.UIUtilities;
import jdk.swing.interop.SwingInterOpUtils;
public final class SwingUtil {
private static final Logger LOGGER = LogUtil.getLogger(SwingUtil.class);

2
compatibility/src/main/java/com/intellij/util/ui/MenuItemLayoutHelper.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2021-2023 Jannis Weis
* Copyright (c) 2021-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
compatibility/src/main/java/com/intellij/util/ui/UIUtilities.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2021-2023 Jannis Weis
* Copyright (c) 2021-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/build.gradle.kts

@ -86,7 +86,7 @@ abstract class DemoTask : JavaExec() {
@Option(
option = "class",
description = "Specifies the main class to run (e.g. com.github.weisj.darklaf.ui.table.TableDemo, com.github.weisj.ui.button.ButtonDemo, ...)"
description = "Specifies the main class to run (e.g. com.github.weisj.darklaf.ui.table.TableDemo, com.github.weisj.ui.button.ButtonDemo, ...)",
)
fun setMainClass(mainClassName: String?) = mainClass.set(mainClassName)
}

2
core/src/main/java/com/github/weisj/darklaf/DarkLaf.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/LafManager.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/LafTransition.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2021-2023 Jannis Weis
* Copyright (c) 2021-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/components/ArrowButton.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/components/ComponentHelper.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2020-2023 Jannis Weis
* Copyright (c) 2020-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

4
core/src/main/java/com/github/weisj/darklaf/components/JXPopupMenu.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,
@ -51,7 +51,7 @@ public class JXPopupMenu extends JPopupMenu {
Point p = new Point(x, y);
if (invoker != null) {
JLayer<? extends JComponent> layer = DarkUIUtil.getParentOfType(JLayer.class, invoker);
if (layer != null && layer.getUI()instanceof TransformUI ui) {
if (layer != null && layer.getUI() instanceof TransformUI ui) {
p = SwingUtilities.convertPoint(invoker, p, layer);
AffineTransform transform = ui.getPreferredTransform(layer.getSize(), layer);
transform.transform(p, p);

2
core/src/main/java/com/github/weisj/darklaf/components/border/BubbleBorder.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/components/border/DropShadowBorder.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/components/iconeditor/IconEditorPanel.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2020-2023 Jannis Weis
* Copyright (c) 2020-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/components/iconeditor/Named.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/components/iconeditor/NamedColor.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/components/iconeditor/NamedInt.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/components/popup/AttachedPopupComponent.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2020-2023 Jannis Weis
* Copyright (c) 2020-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/components/renderer/SimpleListCellRenderer.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/components/tabframe/JTabFrame.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/components/tabframe/PopupContainer.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/components/tabframe/TabFrameContentPane.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/components/text/TextFieldHistoryPopup.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/components/tooltip/ToolTipContext.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/components/tristate/TristateCheckBox.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/defaults/ResourceBundleCache.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2023 Jannis Weis
* Copyright (c) 2023-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/focus/FocusParentHelper.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/graphics/Animator.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/graphics/StringPainter.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2020-2023 Jannis Weis
* Copyright (c) 2020-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/listener/InsertDocumentListener.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/settings/RadioColorChooser.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2021-2023 Jannis Weis
* Copyright (c) 2021-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/settings/ThemeSettings.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2020-2023 Jannis Weis
* Copyright (c) 2020-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/settings/ThemeSettingsUI.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2020-2023 Jannis Weis
* Copyright (c) 2020-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/task/CSSBuilder.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2020-2023 Jannis Weis
* Copyright (c) 2020-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/task/FontDefaultsInitTask.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2020-2023 Jannis Weis
* Copyright (c) 2020-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/task/ResourceBundleInitTask.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

3
core/src/main/java/com/github/weisj/darklaf/ui/DarkPopupFactory.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,
@ -28,7 +28,6 @@ import java.util.logging.Logger;
import javax.swing.*;
import com.github.weisj.darklaf.nativelaf.DecorationsHandler;
import com.github.weisj.darklaf.platform.SystemInfo;
import com.github.weisj.darklaf.properties.uiresource.DarkColorUIResource;
import com.github.weisj.darklaf.ui.rootpane.DarkRootPaneUI;
import com.github.weisj.darklaf.ui.util.DarkUIUtil;

4
core/src/main/java/com/github/weisj/darklaf/ui/DividedWidgetPainter.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2020-2023 Jannis Weis
* Copyright (c) 2020-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,
@ -99,7 +99,7 @@ public final class DividedWidgetPainter {
return WidgetBorderType.Table;
} else if (isTreeEditor) {
return WidgetBorderType.Rect;
} else if (c.getParent()instanceof JPopupMenu parent) {
} else if (c.getParent() instanceof JPopupMenu parent) {
int compCount = parent.getComponentCount();
if (compCount == 1) return WidgetBorderType.None;

2
core/src/main/java/com/github/weisj/darklaf/ui/cell/ComponentBasedTableCellRenderer.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/ui/cell/DarkCellBorderUIResource.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/ui/colorchooser/ColorTriangle.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2020-2023 Jannis Weis
* Copyright (c) 2020-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/ui/colorchooser/ColorValueFormatter.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/ui/colorchooser/DarkColorChooserPanel.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/ui/filechooser/DarkFileChooserUI.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/ui/list/DarkDefaultListCellRenderer.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/ui/list/DarkListCellRendererDelegate.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/ui/list/DarkListUIBridge.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/ui/menu/DarkMenuBarUI.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/ui/menu/DarkMenuItemBorder.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/ui/optionpane/DarkOptionPaneUI.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/ui/popupmenu/DarkPopupMenuBorder.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/ui/popupmenu/DarkPopupMenuUI.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/ui/popupmenu/MouseGrabber.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2020-2023 Jannis Weis
* Copyright (c) 2020-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/ui/rootpane/PlainRootPaneBorder.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/ui/scrollpane/ScrollBarUtil.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2020-2023 Jannis Weis
* Copyright (c) 2020-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/ui/spinner/DarkSpinnerBorder.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

5
core/src/main/java/com/github/weisj/darklaf/ui/tabbedpane/DarkTabbedPaneUIBridge.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,
@ -370,7 +370,8 @@ public abstract class DarkTabbedPaneUIBridge extends TabbedPaneUI implements Swi
public Component.BaselineResizeBehavior getBaselineResizeBehavior(final JComponent c) {
super.getBaselineResizeBehavior(c);
return switch (tabPane.getTabPlacement()) {
case JTabbedPane.LEFT, JTabbedPane.RIGHT, JTabbedPane.TOP -> Component.BaselineResizeBehavior.CONSTANT_ASCENT;
case JTabbedPane.LEFT, JTabbedPane.RIGHT, JTabbedPane.TOP ->
Component.BaselineResizeBehavior.CONSTANT_ASCENT;
case JTabbedPane.BOTTOM -> Component.BaselineResizeBehavior.CONSTANT_DESCENT;
default -> Component.BaselineResizeBehavior.OTHER;
};

2
core/src/main/java/com/github/weisj/darklaf/ui/tabframe/DarkTabFrameComponentPopupMenu.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/ui/tabframe/DarkTabFrameTabLabelUI.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/ui/tabframe/DarkTabFrameUI.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/ui/tabframe/TabFrameLayout.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/ui/table/renderer/DarkTableCellEditor.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/ui/taskpane/DarkTaskPaneUI.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/ui/text/DarkCaret.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/ui/text/bridge/DarkTextAreaUIBridge.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/ui/titledborder/DarkTitledBorder.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/ui/togglebutton/ButtonGroupInfo.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2020-2023 Jannis Weis
* Copyright (c) 2020-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

4
core/src/main/java/com/github/weisj/darklaf/ui/togglebutton/DarkToggleButtonKeyHandler.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,
@ -35,7 +35,7 @@ public class DarkToggleButtonKeyHandler implements KeyListener {
@Override
public void keyPressed(final KeyEvent e) {
AWTKeyStroke stroke = AWTKeyStroke.getAWTKeyStrokeForEvent(e);
if (stroke != null && e.getSource()instanceof AbstractButton source) {
if (stroke != null && e.getSource() instanceof AbstractButton source) {
ButtonModel model = source.getModel();
if (!(model instanceof DefaultButtonModel)) model = null;

2
core/src/main/java/com/github/weisj/darklaf/ui/togglebutton/ToggleButtonFocusNavigationActions.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2020-2023 Jannis Weis
* Copyright (c) 2020-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

4
core/src/main/java/com/github/weisj/darklaf/ui/toolbar/DarkToolBarBorder.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,
@ -90,7 +90,7 @@ public class DarkToolBarBorder extends AbstractBorder implements UIResource, Swi
private String getDockedConstrains(final Component c) {
if (c instanceof JComponent) {
Component parent = c.getParent();
if (parent instanceof JComponent && ((JComponent) parent).getLayout()instanceof BorderLayout layout) {
if (parent instanceof JComponent && ((JComponent) parent).getLayout() instanceof BorderLayout layout) {
Object constraints = layout.getConstraints(c);
if (constraints != null) return constraints.toString();
}

2
core/src/main/java/com/github/weisj/darklaf/ui/toolbar/DarkToolBarUI.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

6
core/src/main/java/com/github/weisj/darklaf/ui/tooltip/DarkToolTipUI.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,
@ -296,8 +296,8 @@ public class DarkToolTipUI extends BasicToolTipUI
@Override
public void propertyChange(final PropertyChangeEvent evt) {
String key = evt.getPropertyName();
if (evt.getSource()instanceof JToolTip tooltip) {
if (tooltip.getBorder()instanceof AlignableTooltipBorder b) {
if (evt.getSource() instanceof JToolTip tooltip) {
if (tooltip.getBorder() instanceof AlignableTooltipBorder b) {
Object newVal = evt.getNewValue();
if (KEY_POINTER_LOCATION.equals(key)) {
if (newVal instanceof Alignment) {

2
core/src/main/java/com/github/weisj/darklaf/ui/tooltip/ToolTipUtil.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2020-2023 Jannis Weis
* Copyright (c) 2020-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/ui/tree/DarkTreeCellEditor.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/ui/tree/DarkTreeUI.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/com/github/weisj/darklaf/ui/util/DarkUIUtil.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

4
core/src/main/java/com/github/weisj/darklaf/ui/util/SwingXUtil.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,
@ -31,7 +31,7 @@ public final class SwingXUtil {
public static <T extends JComponent> Point convertPointToParent(final Component source, final JLayer<T> layer,
final Point p) {
if (layer != null && layer.getUI()instanceof TransformUI ui) {
if (layer != null && layer.getUI() instanceof TransformUI ui) {
Point pos = SwingUtilities.convertPoint(source, p, layer);
AffineTransform transform = ui.getPreferredTransform(layer.getSize(), layer);
transform.transform(pos, pos);

2
core/src/main/java/javax/swing/text/DefaultHighlighterDark/DarkHighlightPainter.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

6
core/src/main/java/org/pbjar/jxlayer/plaf/ext/MouseEventUI.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,
@ -220,7 +220,9 @@ public class MouseEventUI<V extends JComponent> extends AbstractLayerUI<V> {
private Component getListeningComponent(final MouseEvent event, final Component component) {
Component comp = switch (event.getID()) {
case MouseEvent.MOUSE_CLICKED, MouseEvent.MOUSE_ENTERED, MouseEvent.MOUSE_EXITED, MouseEvent.MOUSE_PRESSED, MouseEvent.MOUSE_RELEASED -> getMouseListeningComponent(
case MouseEvent.MOUSE_CLICKED, MouseEvent.MOUSE_ENTERED, MouseEvent.MOUSE_EXITED, MouseEvent.MOUSE_PRESSED,
MouseEvent.MOUSE_RELEASED ->
getMouseListeningComponent(
component);
case MouseEvent.MOUSE_DRAGGED, MouseEvent.MOUSE_MOVED -> getMouseMotionListeningComponent(component);
case MouseEvent.MOUSE_WHEEL -> getMouseWheelListeningComponent(component);

2
core/src/main/java/org/pbjar/jxlayer/plaf/ext/TransformUI.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/main/java/org/pbjar/jxlayer/plaf/ext/transform/TransformLayout.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

6
core/src/main/resources/com/github/weisj/darklaf/nativelaf/mac.properties

@ -1,6 +1,6 @@
# MIT License
#
# Copyright (c) 2019-2023 Jannis Weis
# Copyright (c) 2019-2024 Jannis Weis
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
@ -65,8 +65,8 @@ Menu.arrowHover.icon = navigation/arrow/thick/arrowRightH
kerning.blockList = [Table.font]
PopupMenu.borderRadius = 18
PopupMenu.border.margins = 5,3,5,3
PopupMenu.borderRadius = 10
PopupMenu.border.margins = 3,3,3,3
PopupMenuDivider.insets = 5,5,5,5
PopupMenuDivider.size = 9,9

2
core/src/main/resources/com/github/weisj/darklaf/nativelaf/windows11.properties

@ -1,6 +1,6 @@
# MIT License
#
# Copyright (c) 2021-2023 Jannis Weis
# Copyright (c) 2021-2024 Jannis Weis
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal

2
core/src/main/resources/com/github/weisj/darklaf/ui/popupMenu.properties

@ -1,6 +1,6 @@
# MIT License
#
# Copyright (c) 2019-2023 Jannis Weis
# Copyright (c) 2019-2024 Jannis Weis
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal

2
core/src/test/java/com/github/weisj/darklaf/core/documentation/CreateUITable.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2020-2023 Jannis Weis
* Copyright (c) 2020-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/test/java/com/github/weisj/darklaf/core/test/FontTest.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2020-2023 Jannis Weis
* Copyright (c) 2020-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/test/java/com/github/weisj/darklaf/defaults/SafeIcon.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2020-2023 Jannis Weis
* Copyright (c) 2020-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/test/java/com/github/weisj/darklaf/icon/AllIconsDemo.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2020-2023 Jannis Weis
* Copyright (c) 2020-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/test/java/com/github/weisj/darklaf/icon/IconDemo.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2020-2023 Jannis Weis
* Copyright (c) 2020-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/test/java/com/github/weisj/darklaf/ui/DemoLauncher.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2020-2023 Jannis Weis
* Copyright (c) 2020-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/test/java/com/github/weisj/darklaf/ui/DemoResources.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/test/java/com/github/weisj/darklaf/ui/PreferenceChangeDemo.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

4
core/src/test/java/com/github/weisj/darklaf/ui/demo/BaseComponentDemo.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2021-2023 Jannis Weis
* Copyright (c) 2021-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,
@ -192,7 +192,7 @@ public abstract class BaseComponentDemo implements ComponentDemo, DemoExecutionS
}
@SuppressWarnings("unchecked")
private record FunctionBinding<T, C extends JComponent> (BiConsumer<C, T> setter,
private record FunctionBinding<T, C extends JComponent>(BiConsumer<C, T> setter,
Function<C, T> getter) implements SpecBinding<T> {
@Override

2
core/src/test/java/com/github/weisj/darklaf/ui/demo/DemoExecutor.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2021-2023 Jannis Weis
* Copyright (c) 2021-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/test/java/com/github/weisj/darklaf/ui/demo/SpacerSpec.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2021-2023 Jannis Weis
* Copyright (c) 2021-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/test/java/com/github/weisj/darklaf/ui/dialog/DialogDemo.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/test/java/com/github/weisj/darklaf/ui/list/ListDemo.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/test/java/com/github/weisj/darklaf/ui/popupMenu/PopupMenuDemo.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/test/java/com/github/weisj/darklaf/ui/progressBar/ProgressBarDemo.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2020-2023 Jannis Weis
* Copyright (c) 2020-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/test/java/com/github/weisj/darklaf/ui/scrollPane/OverlayRSyntaxScrollPane.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

2
core/src/test/java/com/github/weisj/darklaf/ui/splitPane/SplitPaneDemo.java

@ -1,7 +1,7 @@
/*
* MIT License
*
* Copyright (c) 2019-2023 Jannis Weis
* Copyright (c) 2019-2024 Jannis Weis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction,

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save