Update dependency com.formdev:flatlaf to v3 #6

Open
renovate-bot wants to merge 1 commit from renovate/com.formdev-flatlaf-3.x into master
Collaborator

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.formdev:flatlaf 1.6.13.7 age adoption passing confidence

Release Notes

JFormDesigner/FlatLaf (com.formdev:flatlaf)

v3.7

Compare Source

New features and improvements
  • System File Chooser allows using operating system file dialogs in Java
    Swing applications. (PR #​988)
  • Zooming API. (PR #​1051)
  • Icons:
    • Support scaling Laf icons (checkbox, radiobutton, etc). (issue #​1061)
    • Scale checkbox and radiobutton icons when using
      text styles
      large, medium, small and mini.
  • TabbedPane: Added icon-only tab mode, which shows tab icons but hides tab
    titles. Tab titles are used in "Show Hidden Tabs" popup menu. (set client
    property JTabbedPane.tabWidthMode to "iconOnly")
  • TabbedPane: In scroll tab layout, propagate mouse wheel events to ancestors.
    This allows mouse wheel scrolling if JTabbedPane is inside a JScrollPane. (PR
    #​1030)
Fixed bugs
  • CheckBox and RadioButton: Fixed styling of custom icon. Also fixed focus width
    (and preferred size) if using custom icon. (PR #​1060)
  • TabbedPane: In "Show Hidden Tabs" popup menu, do not show text "x. Tab" if tab
    has icon but no title. (issue #​1062)
  • TextField: Fixed wrong leading/trailing icon placement if border is set to
    null. (issue #​1047)
  • Extras: UI defaults inspector: Exclude inspector window from being blocked by
    modal dialogs. (issue #​1048)
  • JideButton, JideToggleButton, JideSplitButton and JideToggleSplitButton: Paint
    border in button style TOOLBAR_STYLE if in selected state. (issue #​1045)
  • IntelliJ Themes: Fixed problem when using theme instance more than once when
    switching to that theme. (issue #​990)

v3.6.2

Compare Source

New features and improvements
  • If using FlatLaf.registerCustomDefaultsSource( "com.myapp.themes" ) and
    named Java modules, it is no longer necessary to add opens com.myapp.themes;
    to module-info.java. (issue #​1026)
  • Extras: Made animated theme change (class FlatAnimatedLafChange) smoother.
Fixed bugs
  • Tree and List: Fixed painting of rounded drop backgrounds. (issue #​1023)
  • Popup: Showing tooltip in inactive window brought that window to front (made
    it active) and potentially hid the previously active window. (issue #​1037)
  • Popup: No longer reuse popup windows for menus to avoid immediately closing
    dialogs on ChromeOS. (issue #​1029)
  • macOS: Fixed window "flashing" when switching from a light to a dark theme (or
    vice versa). Especially when using animated theme changer (see
    FlatLaf Extras).
Incompatibilities
  • FlatLaf properties files are now loaded using the UTF-8 character encoding
    instead of ISO 8859-1. In usual properties files you will not notice any
    difference because they use only ASCII characters, but if you've put localized
    (non-English) texts (e.g. German umlauts) into your properties files, you need
    to convert them to UTF-8. Properties files created with the FlatLaf Theme
    Editor already use UTF-8, including in older versions. (issue #​1031)

v3.6.1

Compare Source

  • Extras: Support JSVG 2.0.0. Minimum JSVG version is now 1.6.0. (issue #​997)
  • FlatLaf window decorations (Windows 10/11 only): Improved diagonal window
    resizing on top-left and top-right window corners. Top window resize area now
    also covers iconify/maximize/close buttons. (issue #​1015)
  • ToggleButton: Styling selectedForeground did not work if foreground is
    also styled. (issue #​1017)
  • JideSplitButton: Fixed updating popup when switching theme. (issue #​1000)
  • IntelliJ Themes: Fixed logging false errors when loading 3rd party
    .theme.json files. (issue #​990)
  • Linux: Popups appeared in wrong position on multi-screen setup if primary
    display is located below or right to secondary display. (see
    NetBeans issue #​8532)
  • macOS: Fixed popup flickering after theme change. (issue #​1009)
  • macOS with JetBrains Runtime: Fixed sometimes empty popups. (issue #​1019)

v3.6

Compare Source

New features and improvements
  • If using FlatLaf.registerCustomDefaultsSource( "com.myapp.themes" ) and
    named Java modules, it is no longer necessary to add opens com.myapp.themes;
    to module-info.java. (issue #​1026)
  • Extras: Made animated theme change (class FlatAnimatedLafChange) smoother.
Fixed bugs
  • Tree and List: Fixed painting of rounded drop backgrounds. (issue #​1023)
  • Popup: Showing tooltip in inactive window brought that window to front (made
    it active) and potentially hid the previously active window. (issue #​1037)
  • Popup: No longer reuse popup windows for menus to avoid immediately closing
    dialogs on ChromeOS. (issue #​1029)
  • macOS: Fixed window "flashing" when switching from a light to a dark theme (or
    vice versa). Especially when using animated theme changer (see
    FlatLaf Extras).
Incompatibilities
  • FlatLaf properties files are now loaded using the UTF-8 character encoding
    instead of ISO 8859-1. In usual properties files you will not notice any
    difference because they use only ASCII characters, but if you've put localized
    (non-English) texts (e.g. German umlauts) into your properties files, you need
    to convert them to UTF-8. Properties files created with the FlatLaf Theme
    Editor already use UTF-8, including in older versions. (issue #​1031)

v3.5.4

Compare Source

Fixed bugs
  • HTML: Fixed NPE when using HTML text on a component with null font. (issue
    #​930; PR #​931; regression in 3.5)
  • Linux: Fixed NPE when using FlatLaf window decorations and switching theme.
    (issue #​933; regression in 3.5.3)

v3.5.3

Compare Source

Fixed bugs
  • HTML: Fixed wrong rendering if HTML text contains <style> tag with
    attributes (e.g. <style type='text/css'>). (issue #​905; regression in 3.5.1)
  • FlatLaf window decorations:
    • Windows: Fixed possible deadlock with TabbedPane in window title area in
      "full window content" mode. (issue #​909)
    • Windows: Fixed wrong layout in maximized frame after changing screen scale
      factor. (issue #​904)
    • Linux: Fixed continuous cursor toggling between resize and standard cursor
      when resizing window. (issue #​907)
    • Fixed sometimes broken window moving with SplitPane in window title area in
      "full window content" mode. (issue #​926)
  • Popup: On Windows 10, fixed misplaced popup drop shadow. (issue #​911;
    regression in 3.5)
  • Popup: Fixed NPE if GraphicsConfiguration is null on Windows. (issue #​921)
  • Theme Editor: Fixed using color picker on secondary screen.
  • Fixed detection of Windows 11 if custom exe launcher does not specify Windows
    10+ compatibility in application manifest. (issue #​916)
  • Linux: Fixed slightly different font size (or letter width) used to paint HTML
    text when default font family is Cantarell (e.g. on Fedora). (issue #​912)
Other Changes
  • Class FlatPropertiesLaf now supports FlatLaf macOS themes as base themes.

v3.5.2

Compare Source

Fixed bugs
  • Windows: Fixed repaint issues (ghosting) on some systems (probably depending
    on graphics card/driver). This is done by setting Java system property
    sun.java2d.d3d.onscreen to false (but only if sun.java2d.d3d.onscreen,
    sun.java2d.d3d and sun.java2d.noddraw are not yet set), which disables
    usage of Windows Direct3D (DirectX) onscreen surfaces. Component rendering
    still uses Direct3D. (issue #​887)
  • FlatLaf window decorations:
    • Iconify/maximize/close buttons did not fill whole title bar height, if some
      custom component in menu bar increases title bar height. (issue #​897)
    • Windows: Fixed possible application freeze when using custom component that
      overrides Component.contains(int x, int y) and invokes
      SwingUtilities.convertPoint() (or similar) from the overridden method.
      (issue #​878)
  • TextComponents: Fixed too fast scrolling in multi-line text components when
    using touchpads (e.g. on macOS). (issue #​892)
  • ToolBar: Fixed endless loop if button in Toolbar has focus and is made
    invisible. (issue #​884)
Other Changes
  • FlatLaf window decorations: Added client property JRootPane.titleBarHeight
    to allow specifying a (larger) preferred height for the title bar. (issue
    #​897)
  • Added system property flatlaf.useRoundedPopupBorder to allow disabling
    native rounded popup borders on Windows 11 and macOS. On macOS 14.4+, where
    rounded popup borders are disabled since FlatLaf 3.5 because of occasional
    problems, you can use this to enable rounded popup borders (at your risk).

v3.5.1

Compare Source

Fixed bugs
  • HTML: Fixed occasional cutoff wrapped text when using multi-line text in HTML
    tags <h1>...<h6>, <code>, <kbd>, <big>, <small> or <samp>.
    (issue #​873; regression in 3.5)
  • Popup: Fixed UnsupportedOperationException: PERPIXEL_TRANSLUCENT translucency is not supported exception on Haiku OS when showing popup (partly) outside of
    window. (issue #​869)
  • HiDPI: Fixed occasional wrong repaint areas when using
    HiDPIUtils.installHiDPIRepaintManager(). (see PR #​864)
  • Added system property flatlaf.useSubMenuSafeTriangle to allow disabling
    submenu safe triangle (PR #​490) for
    SWTSwing. (issue #​870)

v3.5

Compare Source

Fixed bugs
  • HTML: Fixed NPE when using HTML text on a component with null font. (issue
    #​930; PR #​931; regression in 3.5)
  • Linux: Fixed NPE when using FlatLaf window decorations and switching theme.
    (issue #​933; regression in 3.5.3)

v3.4.1

Compare Source

Fixed bugs
  • SplitPane: Update divider when client property JSplitPane.expandableSide
    changed.
  • TabbedPane: Fixed swapped back and forward scroll buttons when using
    TabbedPane.scrollButtonsPlacement = trailing (regression in FlatLaf 3.3).
  • Fixed missing window top border on Windows 10 in "full window content" mode.
    (issue #​809)
  • Extras:
    • FlatSVGIcon color filters now support linear gradients. (PR #​817)
    • FlatSVGIcon: Use log level CONFIG instead of SEVERE and allow
      disabling logging. (issue #​823)
    • Added support for JSplitPane.expandableSide client property to
      FlatSplitPane.
  • Native libraries: Added API version check to test whether native library
    matches the JAR (bad builds could e.g. ship a newer JAR with an older
    incompatible native library) and to test whether native methods can be invoked
    (some security software allows loading native library but blocks method
    invocation).
  • macOS: Fixed crash when running in WebSwing. (issue #​826; regression in 3.4)
Incompatibilities
  • File names of custom properties files for nested Laf classes now must include
    name of enclosing class name. E.g. nested Laf class IntelliJTheme.ThemeLaf
    used ThemeLaf.properties in previous versions, but now needs to be named
    IntelliJTheme$ThemeLaf.properties.

v3.4

Compare Source

Fixed bugs
  • SplitPane: Update divider when client property JSplitPane.expandableSide
    changed.
  • TabbedPane: Fixed swapped back and forward scroll buttons when using
    TabbedPane.scrollButtonsPlacement = trailing (regression in FlatLaf 3.3).
  • Fixed missing window top border on Windows 10 in "full window content" mode.
    (issue #​809)
  • Extras:
    • FlatSVGIcon color filters now support linear gradients. (PR #​817)
    • FlatSVGIcon: Use log level CONFIG instead of SEVERE and allow
      disabling logging. (issue #​823)
    • Added support for JSplitPane.expandableSide client property to
      FlatSplitPane.
  • Native libraries: Added API version check to test whether native library
    matches the JAR (bad builds could e.g. ship a newer JAR with an older
    incompatible native library) and to test whether native methods can be invoked
    (some security software allows loading native library but blocks method
    invocation).
  • macOS: Fixed crash when running in WebSwing. (issue #​826; regression in 3.4)
Incompatibilities
  • File names of custom properties files for nested Laf classes now must include
    name of enclosing class name. E.g. nested Laf class IntelliJTheme.ThemeLaf
    used ThemeLaf.properties in previous versions, but now needs to be named
    IntelliJTheme$ThemeLaf.properties.

v3.3

Compare Source

New features and improvements
  • macOS (10.14+): Popups (JPopupMenu, JComboBox, JToolTip, etc.) now use
    native macOS rounded borders. (PR #​772; issue #​715)
  • Native libraries: Added libflatlaf-macos-arm64.dylib and
    libflatlaf-macos-x86_64.dylib. See also
    https://www.formdev.com/flatlaf/native-libraries/.
  • ScrollPane: Support rounded border. (PR #​713)
  • SplitPane: Support divider hover and pressed background colors. (PR #​788)
  • TabbedPane: Support vertical tabs. (PR #​758, issue #​633)
  • TabbedPane: Paint rounded tab area background for rounded cards. (issue #​717)
  • ToolBar: Added styling properties separatorWidth and separatorColor.
Fixed bugs
  • Button and ToggleButton: Selected buttons did not use explicitly set
    foreground color. (issue #​756)
  • FileChooser: Catch NPE in Java 21 when getting icon for .exe files that use
    default Windows exe icon. (see
    JDK-8320692)
  • OptionPane: Fixed styling custom panel background in JOptionPane. (issue
    #​761)
  • ScrollPane: Styling ScrollPane border properties did not work if view
    component is a Table.
  • Table:
    • Switching theme looses table grid and intercell spacing. (issues #​733 and
      #​750)
    • Fixed background of boolean columns when using alternating row colors.
      (issue #​780)
    • Fixed border arc of components in complex table cell editors. (issue #​786)
  • TableHeader:
    • No longer temporary replace header cell renderer while painting. This avoids
      a StackOverflowError in case that custom renderer does this too. (see
      NetBeans issue #​6835) This
      also improves compatibility with custom table header implementations.
    • Header cell renderer background/foreground colors were not restored after
      hover if renderer uses null for background/foreground. (PR #​790)
  • TabbedPane:
    • Avoid unnecessary repainting whole tabbed pane content area when layouting
      leading/trailing components.
    • Avoid unnecessary repainting of selected tab on temporary changes.
    • Fixed "endless" layouting and repainting when using nested tabbed panes (top
      and bottom tab placement) and RSyntaxTextArea (with enabled line-wrapping)
      as tab content. (see
      jadx issue #​2030)
  • Fixed broken rendering after resizing window to minimum size and then
    increasing size again. (issue #​767)
Incompatibilities
  • Removed support for JetBrains custom decorations, which required
    JetBrains Runtime (JBR)
    8 or 11. It did not work for JBR 17. System property
    flatlaf.useJetBrainsCustomDecorations is now ignored. Note: FlatLaf
    window decorations continue to work with JBR.

v3.2.5

Compare Source

Fixed bugs
  • Popup: Fixed NPE if popup invoker is null on Windows 10. (issue #​753;
    regression in 3.2.1 in fix for #​626)

v3.2.4

Compare Source

Fixed bugs
  • Popup: Fixed NPE if popup invoker is null on Linux with Wayland and Java 21.
    (issue #​752; regression in 3.2.3)

v3.2.3

Compare Source

Fixed bugs
  • Popup: Popups that request focus were not shown on Linux with Wayland and Java 21.
    (issue #​752)

v3.2.2

Compare Source

Fixed bugs
  • Button: Fixed painting icon and text at wrong location when using HTML text,
    left/right vertical alignment and running in Java 19+. (issue #​746)
  • CheckBox and RadioButton: Fixed cut off right side when border is removed and
    horizontal alignment is set to right. (issue #​734)
  • TabbedPane: Fixed NPE when using focusable component as tab component and
    switching theme. (issue #​745)

v3.2.1

Compare Source

Fixed bugs
  • Fixed memory leak in
    MultiResolutionImageSupport.create(int,Dimension[],Function<Dimension,Image>),
    which caches images created by the producer function. Used by
    FlatSVGIcon.getImage() and FlatSVGUtils.createWindowIconImages(). If you
    use one of these methods, it is strongly recommended to upgrade to this
    version, because if the returned image is larger and painted very often it may
    result in an out-of-memory situation. (issue #​726)
  • FileChooser: Fixed occasional NPE in FlatShortcutsPanel on Windows. (issue
    #​718)
  • TextField: Fixed placeholder text painting, which did not respect horizontal
    alignment property of JTextField. (issue #​721)
  • Popup: Fixed drop shadow if popup overlaps a heavyweight component. (Windows
    10 only; issue #​626)

v3.2

Compare Source

Fixed bugs
  • Popup: Fixed NPE if popup invoker is null on Windows 10. (issue #​753;
    regression in 3.2.1 in fix for #​626)

v3.1.1

Compare Source

  • IntelliJ Themes:
    • Fixed too large menu item paddings and too large table/tree row heights (all
      "Material Theme UI Lite" themes; issue #​667; regression in FlatLaf 3.1).
    • Fixed too large tree row height in "Carbon", "Dark Purple", "Gray",
      "Material Design Dark", "Monokai Pro", "One Dark" and "Spacegray" themes.
  • Native libraries: Fixed IllegalArgumentException: URI scheme is not "file"
    when using FlatLaf in WebStart. (issue #​668; regression in FlatLaf 3.1)

v3.1

Compare Source

  • IntelliJ Themes:
    • Fixed too large menu item paddings and too large table/tree row heights (all
      "Material Theme UI Lite" themes; issue #​667; regression in FlatLaf 3.1).
    • Fixed too large tree row height in "Carbon", "Dark Purple", "Gray",
      "Material Design Dark", "Monokai Pro", "One Dark" and "Spacegray" themes.
  • Native libraries: Fixed IllegalArgumentException: URI scheme is not "file"
    when using FlatLaf in WebStart. (issue #​668; regression in FlatLaf 3.1)

v3.0

Compare Source

New features and improvements
  • macOS light and dark themes: The two new themes FlatMacLightLaf and
    FlatMacDarkLaf use macOS colors and look similar to native macOS controls.
    (PRs #​533, #​612 and #​607)
  • Fonts: Packaged some fonts into JARs and provide an easy way to use them
    with FlatLaf. (PRs #​545, #​614 and #​615) At the moment there are three fonts:
  • Rounded selection: Optionally use rounded selection in:
  • Tree: Hide default closed/opened/leaf icons by default. Set UI value
    Tree.showDefaultIcons to true to show them.
  • ToolBar: Hover effect for button groups. (PR #​534)
  • Icons: New modern rounded outlined icons for JFileChooser,
    JOptionPane, JPasswordField and JTree. (PR #​577)
Fixed bugs
  • FileChooser: Fixed layout of (optional) accessory component and fixed too
    large right margin. (issue #​604; regression since implementing PR #​522 in
    FlatLaf 2.3)
  • Tree:
    • Fixed missing tree lines (if enabled) for wide-selected rows. (issue #​598)
    • Fixed scaling of tree lines and fixed alignment to expand/collapse arrows.
    • Removed support for dashed tree lines. Tree.lineTypeDashed is now ignored.
  • SwingX: Fonts in JXHeader, JXMonthView, JXTaskPane and JXTitledPanel
    were not updated when changing default font.

v2.6

Compare Source

New features and improvements
  • If value of system property flatlaf.nativeLibraryPath is system, then
    System.loadLibrary(String) is used to load the native library.
  • TabbedPane: Switch and close tabs on left mouse click only. (PR #​595)
Fixed bugs
  • ComboBox and Spinner: Fixed missing arrow buttons if preferred height is zero.
    Minimum width of arrow buttons is 3/4 of default width.
  • MenuBar: Fixed NPE in FlatMenuItemRenderer.getTopLevelFont() if menu item
    does not have a parent. (issue #​600; regression since implementing #​589 in
    FlatLaf 2.5)
  • ScrollBar: Show "pressed" feedback on track/thumb only for left mouse button.
    If absolute positioning is enabled (the default), then also for middle mouse
    button.
  • Arrow buttons in ComboBox, Spinner, ScrollBar and TabbedPane: Show "pressed"
    feedback only for left mouse button.
  • ScaledImageIcon: Do not throw exceptions if image was has invalid size (e.g.
    not found). Instead, paint a red rectangle (similar to FlatSVGIcon).
  • Fixed NPE in FlatUIUtils.isCellEditor(). (issue #​601)

v2.5

Compare Source

Fixed bugs
  • Popup: Fixed NPE if popup invoker is null on Windows 10. (issue #​753;
    regression in 3.2.1 in fix for #​626)

v2.4

Compare Source

Fixed bugs
  • Popup: Fixed NPE if popup invoker is null on Linux with Wayland and Java 21.
    (issue #​752; regression in 3.2.3)

v2.3

Compare Source

Fixed bugs
  • Popup: Popups that request focus were not shown on Linux with Wayland and Java 21.
    (issue #​752)

v2.2

Compare Source

Fixed bugs
  • Button: Fixed painting icon and text at wrong location when using HTML text,
    left/right vertical alignment and running in Java 19+. (issue #​746)
  • CheckBox and RadioButton: Fixed cut off right side when border is removed and
    horizontal alignment is set to right. (issue #​734)
  • TabbedPane: Fixed NPE when using focusable component as tab component and
    switching theme. (issue #​745)

v2.1

Compare Source

Fixed bugs
  • Fixed memory leak in
    MultiResolutionImageSupport.create(int,Dimension[],Function<Dimension,Image>),
    which caches images created by the producer function. Used by
    FlatSVGIcon.getImage() and FlatSVGUtils.createWindowIconImages(). If you
    use one of these methods, it is strongly recommended to upgrade to this
    version, because if the returned image is larger and painted very often it may
    result in an out-of-memory situation. (issue #​726)
  • FileChooser: Fixed occasional NPE in FlatShortcutsPanel on Windows. (issue
    #​718)
  • TextField: Fixed placeholder text painting, which did not respect horizontal
    alignment property of JTextField. (issue #​721)
  • Popup: Fixed drop shadow if popup overlaps a heavyweight component. (Windows
    10 only; issue #​626)

v2.0.2

Compare Source

  • Native window decorations (Windows 10/11 only): Fixed rendering artifacts on
    HiDPI screens when dragging window partly offscreen and back into screen
    bounds. (issue #​477)
  • Repaint component when setting client property JComponent.outline (issue
    #​480).
  • macOS: Fixed NPE when using some icons in main menu items. (issue #​483)

v2.0.1

Compare Source

  • Fixed memory leak in Panel, Separator and ToolBarSeparator. (issue #​471;
    regression in FlatLaf 2.0)
  • ToolTip: Fixed wrong tooltip location if component overrides
    JComponent.getToolTipLocation() and wants place tooltip under mouse
    location. (issue #​468)
  • Extras: Added copy constructor to FlatSVGIcon. (issue #​465)
  • Moved module-info.class from META-INF\versions\9\ to root folder of JARs.
    (issue #​466)

v2.0

Compare Source

  • Native window decorations (Windows 10/11 only): Fixed rendering artifacts on
    HiDPI screens when dragging window partly offscreen and back into screen
    bounds. (issue #​477)
  • Repaint component when setting client property JComponent.outline (issue
    #​480).
  • macOS: Fixed NPE when using some icons in main menu items. (issue #​483)

v1.6.5

Compare Source

Fixed bugs
  • Linux: Fixed font problems when running on Oracle Java (OpenJDK is not
    affected):
    • oversized text if system font is "Inter" (issue #​427)
    • missing text if system font is "Cantarell" (on Fedora)
  • MenuItem: Changed accelerator delimiter from - to +. (Windows and Linux).
  • ComboBox: Fixed occasional StackOverflowError when modifying combo box not
    on AWT thread. (issue #​432)
  • macOS: Fixed NullPointerException when using AWT component
    java.awt.Choice. (issue #​439)
  • Native window decorations: Do not exit application with UnsatisfiedLinkError
    in case that FlatLaf DLL cannot be executed because of restrictions on
    temporary directory. Instead, continue with default window decorations. (issue
    #​436)

v1.6.4

Compare Source

Fixed bugs
  • ComboBox: Fixed regression in FlatLaf 1.6.3 that makes selected item invisible
    in popup list if DefaultListCellRenderer is used as renderer. If using
    default renderer, it works. (issue #​426)

v1.6.3

Compare Source

Fixed bugs
  • ComboBox (not editable): Fixed regression in FlatLaf 1.6.2 that may display
    text in non-editable combo boxes in bold. (issue #​423)
  • Tree: Fixed editing cell issue with custom cell renderer and cell editor that
    use same component for rendering and editing. (issue #​385)

v1.6.2

Compare Source

Fixed bugs
  • ComboBox (not editable): Fixed background painted outside of border if round
    edges are enabled (client property JComponent.roundRect is true). (similar
    to issue #​382; regression since fixing #​330 in FlatLaf 1.4)
  • ComboBox: Fixed NullPointerException, which may occur under special
    circumstances. (issue #​408)
  • Table: Do not select text in cell editor when it gets focus (when
    JTable.surrendersFocusOnKeystroke is true) and
    TextComponent.selectAllOnFocusPolicy is once (the default) or always.
    (issue #​395)
  • Linux: Fixed NPE when using java.awt.TrayIcon. (issue #​405)
  • FileChooser: Workaround for crash on Windows with Java 17 32-bit (disabled
    Windows icons). Java 17 64-bit is not affected. (issue #​403)
  • Native window decorations: Fixed layout loop, which may occur under special
    circumstances and slows down the application. (issue #​420)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Adoption](https://docs.renovatebot.com/merge-confidence/) | [Passing](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---|---|---| | [com.formdev:flatlaf](https://github.com/JFormDesigner/FlatLaf) | `1.6.1` → `3.7` | ![age](https://developer.mend.io/api/mc/badges/age/maven/com.formdev:flatlaf/3.7?slim=true) | ![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.formdev:flatlaf/3.7?slim=true) | ![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.formdev:flatlaf/1.6.1/3.7?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.formdev:flatlaf/1.6.1/3.7?slim=true) | --- ### Release Notes <details> <summary>JFormDesigner/FlatLaf (com.formdev:flatlaf)</summary> ### [`v3.7`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#37) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/3.6.2...3.7) ##### New features and improvements - System File Chooser allows using **operating system file dialogs** in Java Swing applications. (PR [#&#8203;988](https://github.com/JFormDesigner/FlatLaf/issues/988)) - Zooming API. (PR [#&#8203;1051](https://github.com/JFormDesigner/FlatLaf/issues/1051)) - Icons: - Support scaling Laf icons (checkbox, radiobutton, etc). (issue [#&#8203;1061](https://github.com/JFormDesigner/FlatLaf/issues/1061)) - Scale checkbox and radiobutton icons when using [text styles](https://www.formdev.com/flatlaf/typography/#text_styles) `large`, `medium`, `small` and `mini`. - TabbedPane: Added icon-only tab mode, which shows tab icons but hides tab titles. Tab titles are used in "Show Hidden Tabs" popup menu. (set client property `JTabbedPane.tabWidthMode` to `"iconOnly"`) - TabbedPane: In scroll tab layout, propagate mouse wheel events to ancestors. This allows mouse wheel scrolling if JTabbedPane is inside a JScrollPane. (PR [#&#8203;1030](https://github.com/JFormDesigner/FlatLaf/issues/1030)) ##### Fixed bugs - CheckBox and RadioButton: Fixed styling of custom icon. Also fixed focus width (and preferred size) if using custom icon. (PR [#&#8203;1060](https://github.com/JFormDesigner/FlatLaf/issues/1060)) - TabbedPane: In "Show Hidden Tabs" popup menu, do not show text "x. Tab" if tab has icon but no title. (issue [#&#8203;1062](https://github.com/JFormDesigner/FlatLaf/issues/1062)) - TextField: Fixed wrong leading/trailing icon placement if border is set to `null`. (issue [#&#8203;1047](https://github.com/JFormDesigner/FlatLaf/issues/1047)) - Extras: UI defaults inspector: Exclude inspector window from being blocked by modal dialogs. (issue [#&#8203;1048](https://github.com/JFormDesigner/FlatLaf/issues/1048)) - JideButton, JideToggleButton, JideSplitButton and JideToggleSplitButton: Paint border in button style `TOOLBAR_STYLE` if in selected state. (issue [#&#8203;1045](https://github.com/JFormDesigner/FlatLaf/issues/1045)) - IntelliJ Themes: Fixed problem when using theme instance more than once when switching to that theme. (issue [#&#8203;990](https://github.com/JFormDesigner/FlatLaf/issues/990)) ### [`v3.6.2`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#362) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/3.6.1...3.6.2) ##### New features and improvements - If using `FlatLaf.registerCustomDefaultsSource( "com.myapp.themes" )` and named Java modules, it is no longer necessary to add `opens com.myapp.themes;` to `module-info.java`. (issue [#&#8203;1026](https://github.com/JFormDesigner/FlatLaf/issues/1026)) - Extras: Made animated theme change (class `FlatAnimatedLafChange`) smoother. ##### Fixed bugs - Tree and List: Fixed painting of rounded drop backgrounds. (issue [#&#8203;1023](https://github.com/JFormDesigner/FlatLaf/issues/1023)) - Popup: Showing tooltip in inactive window brought that window to front (made it active) and potentially hid the previously active window. (issue [#&#8203;1037](https://github.com/JFormDesigner/FlatLaf/issues/1037)) - Popup: No longer reuse popup windows for menus to avoid immediately closing dialogs on ChromeOS. (issue [#&#8203;1029](https://github.com/JFormDesigner/FlatLaf/issues/1029)) - macOS: Fixed window "flashing" when switching from a light to a dark theme (or vice versa). Especially when using animated theme changer (see [FlatLaf Extras](flatlaf-extras)). ##### Incompatibilities - FlatLaf properties files are now loaded using the UTF-8 character encoding instead of ISO 8859-1. In usual properties files you will not notice any difference because they use only ASCII characters, but if you've put localized (non-English) texts (e.g. German umlauts) into your properties files, you need to convert them to UTF-8. Properties files created with the FlatLaf Theme Editor already use UTF-8, including in older versions. (issue [#&#8203;1031](https://github.com/JFormDesigner/FlatLaf/issues/1031)) ### [`v3.6.1`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#361) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/3.6...3.6.1) - Extras: Support JSVG 2.0.0. Minimum JSVG version is now 1.6.0. (issue [#&#8203;997](https://github.com/JFormDesigner/FlatLaf/issues/997)) - FlatLaf window decorations (Windows 10/11 only): Improved diagonal window resizing on top-left and top-right window corners. Top window resize area now also covers iconify/maximize/close buttons. (issue [#&#8203;1015](https://github.com/JFormDesigner/FlatLaf/issues/1015)) - ToggleButton: Styling `selectedForeground` did not work if `foreground` is also styled. (issue [#&#8203;1017](https://github.com/JFormDesigner/FlatLaf/issues/1017)) - JideSplitButton: Fixed updating popup when switching theme. (issue [#&#8203;1000](https://github.com/JFormDesigner/FlatLaf/issues/1000)) - IntelliJ Themes: Fixed logging false errors when loading 3rd party `.theme.json` files. (issue [#&#8203;990](https://github.com/JFormDesigner/FlatLaf/issues/990)) - Linux: Popups appeared in wrong position on multi-screen setup if primary display is located below or right to secondary display. (see [NetBeans issue #&#8203;8532](https://github.com/apache/netbeans/issues/8532)) - macOS: Fixed popup flickering after theme change. (issue [#&#8203;1009](https://github.com/JFormDesigner/FlatLaf/issues/1009)) - macOS with JetBrains Runtime: Fixed sometimes empty popups. (issue [#&#8203;1019](https://github.com/JFormDesigner/FlatLaf/issues/1019)) ### [`v3.6`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#362) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/3.5.4...3.6) ##### New features and improvements - If using `FlatLaf.registerCustomDefaultsSource( "com.myapp.themes" )` and named Java modules, it is no longer necessary to add `opens com.myapp.themes;` to `module-info.java`. (issue [#&#8203;1026](https://github.com/JFormDesigner/FlatLaf/issues/1026)) - Extras: Made animated theme change (class `FlatAnimatedLafChange`) smoother. ##### Fixed bugs - Tree and List: Fixed painting of rounded drop backgrounds. (issue [#&#8203;1023](https://github.com/JFormDesigner/FlatLaf/issues/1023)) - Popup: Showing tooltip in inactive window brought that window to front (made it active) and potentially hid the previously active window. (issue [#&#8203;1037](https://github.com/JFormDesigner/FlatLaf/issues/1037)) - Popup: No longer reuse popup windows for menus to avoid immediately closing dialogs on ChromeOS. (issue [#&#8203;1029](https://github.com/JFormDesigner/FlatLaf/issues/1029)) - macOS: Fixed window "flashing" when switching from a light to a dark theme (or vice versa). Especially when using animated theme changer (see [FlatLaf Extras](flatlaf-extras)). ##### Incompatibilities - FlatLaf properties files are now loaded using the UTF-8 character encoding instead of ISO 8859-1. In usual properties files you will not notice any difference because they use only ASCII characters, but if you've put localized (non-English) texts (e.g. German umlauts) into your properties files, you need to convert them to UTF-8. Properties files created with the FlatLaf Theme Editor already use UTF-8, including in older versions. (issue [#&#8203;1031](https://github.com/JFormDesigner/FlatLaf/issues/1031)) ### [`v3.5.4`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#354) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/3.5.3...3.5.4) ##### Fixed bugs - HTML: Fixed NPE when using HTML text on a component with `null` font. (issue [#&#8203;930](https://github.com/JFormDesigner/FlatLaf/issues/930); PR [#&#8203;931](https://github.com/JFormDesigner/FlatLaf/issues/931); regression in 3.5) - Linux: Fixed NPE when using FlatLaf window decorations and switching theme. (issue [#&#8203;933](https://github.com/JFormDesigner/FlatLaf/issues/933); regression in 3.5.3) ### [`v3.5.3`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#353) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/3.5.2...3.5.3) ##### Fixed bugs - HTML: Fixed wrong rendering if HTML text contains `<style>` tag with attributes (e.g. `<style type='text/css'>`). (issue [#&#8203;905](https://github.com/JFormDesigner/FlatLaf/issues/905); regression in 3.5.1) - FlatLaf window decorations: - Windows: Fixed possible deadlock with TabbedPane in window title area in "full window content" mode. (issue [#&#8203;909](https://github.com/JFormDesigner/FlatLaf/issues/909)) - Windows: Fixed wrong layout in maximized frame after changing screen scale factor. (issue [#&#8203;904](https://github.com/JFormDesigner/FlatLaf/issues/904)) - Linux: Fixed continuous cursor toggling between resize and standard cursor when resizing window. (issue [#&#8203;907](https://github.com/JFormDesigner/FlatLaf/issues/907)) - Fixed sometimes broken window moving with SplitPane in window title area in "full window content" mode. (issue [#&#8203;926](https://github.com/JFormDesigner/FlatLaf/issues/926)) - Popup: On Windows 10, fixed misplaced popup drop shadow. (issue [#&#8203;911](https://github.com/JFormDesigner/FlatLaf/issues/911); regression in 3.5) - Popup: Fixed NPE if `GraphicsConfiguration` is `null` on Windows. (issue [#&#8203;921](https://github.com/JFormDesigner/FlatLaf/issues/921)) - Theme Editor: Fixed using color picker on secondary screen. - Fixed detection of Windows 11 if custom exe launcher does not specify Windows 10+ compatibility in application manifest. (issue [#&#8203;916](https://github.com/JFormDesigner/FlatLaf/issues/916)) - Linux: Fixed slightly different font size (or letter width) used to paint HTML text when default font family is *Cantarell* (e.g. on Fedora). (issue [#&#8203;912](https://github.com/JFormDesigner/FlatLaf/issues/912)) ##### Other Changes - Class `FlatPropertiesLaf` now supports FlatLaf macOS themes as base themes. ### [`v3.5.2`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#352) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/3.5.1...3.5.2) ##### Fixed bugs - Windows: Fixed repaint issues (ghosting) on some systems (probably depending on graphics card/driver). This is done by setting Java system property `sun.java2d.d3d.onscreen` to `false` (but only if `sun.java2d.d3d.onscreen`, `sun.java2d.d3d` and `sun.java2d.noddraw` are not yet set), which disables usage of Windows Direct3D (DirectX) onscreen surfaces. Component rendering still uses Direct3D. (issue [#&#8203;887](https://github.com/JFormDesigner/FlatLaf/issues/887)) - FlatLaf window decorations: - Iconify/maximize/close buttons did not fill whole title bar height, if some custom component in menu bar increases title bar height. (issue [#&#8203;897](https://github.com/JFormDesigner/FlatLaf/issues/897)) - Windows: Fixed possible application freeze when using custom component that overrides `Component.contains(int x, int y)` and invokes `SwingUtilities.convertPoint()` (or similar) from the overridden method. (issue [#&#8203;878](https://github.com/JFormDesigner/FlatLaf/issues/878)) - TextComponents: Fixed too fast scrolling in multi-line text components when using touchpads (e.g. on macOS). (issue [#&#8203;892](https://github.com/JFormDesigner/FlatLaf/issues/892)) - ToolBar: Fixed endless loop if button in Toolbar has focus and is made invisible. (issue [#&#8203;884](https://github.com/JFormDesigner/FlatLaf/issues/884)) ##### Other Changes - FlatLaf window decorations: Added client property `JRootPane.titleBarHeight` to allow specifying a (larger) preferred height for the title bar. (issue [#&#8203;897](https://github.com/JFormDesigner/FlatLaf/issues/897)) - Added system property `flatlaf.useRoundedPopupBorder` to allow disabling native rounded popup borders on Windows 11 and macOS. On macOS 14.4+, where rounded popup borders are disabled since FlatLaf 3.5 because of occasional problems, you can use this to enable rounded popup borders (at your risk). ### [`v3.5.1`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#351) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/3.5...3.5.1) ##### Fixed bugs - HTML: Fixed occasional cutoff wrapped text when using multi-line text in HTML tags `<h1>`...`<h6>`, `<code>`, `<kbd>`, `<big>`, `<small>` or `<samp>`. (issue [#&#8203;873](https://github.com/JFormDesigner/FlatLaf/issues/873); regression in 3.5) - Popup: Fixed `UnsupportedOperationException: PERPIXEL_TRANSLUCENT translucency is not supported` exception on Haiku OS when showing popup (partly) outside of window. (issue [#&#8203;869](https://github.com/JFormDesigner/FlatLaf/issues/869)) - HiDPI: Fixed occasional wrong repaint areas when using `HiDPIUtils.installHiDPIRepaintManager()`. (see PR [#&#8203;864](https://github.com/JFormDesigner/FlatLaf/issues/864)) - Added system property `flatlaf.useSubMenuSafeTriangle` to allow disabling submenu safe triangle (PR [#&#8203;490](https://github.com/JFormDesigner/FlatLaf/issues/490)) for [SWTSwing](https://github.com/Chrriis/SWTSwing). (issue [#&#8203;870](https://github.com/JFormDesigner/FlatLaf/issues/870)) ### [`v3.5`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#354) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/3.4.1...3.5) ##### Fixed bugs - HTML: Fixed NPE when using HTML text on a component with `null` font. (issue [#&#8203;930](https://github.com/JFormDesigner/FlatLaf/issues/930); PR [#&#8203;931](https://github.com/JFormDesigner/FlatLaf/issues/931); regression in 3.5) - Linux: Fixed NPE when using FlatLaf window decorations and switching theme. (issue [#&#8203;933](https://github.com/JFormDesigner/FlatLaf/issues/933); regression in 3.5.3) ### [`v3.4.1`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#341) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/3.4...3.4.1) ##### Fixed bugs - SplitPane: Update divider when client property `JSplitPane.expandableSide` changed. - TabbedPane: Fixed swapped back and forward scroll buttons when using `TabbedPane.scrollButtonsPlacement = trailing` (regression in FlatLaf 3.3). - Fixed missing window top border on Windows 10 in "full window content" mode. (issue [#&#8203;809](https://github.com/JFormDesigner/FlatLaf/issues/809)) - Extras: - `FlatSVGIcon` color filters now support linear gradients. (PR [#&#8203;817](https://github.com/JFormDesigner/FlatLaf/issues/817)) - `FlatSVGIcon`: Use log level `CONFIG` instead of `SEVERE` and allow disabling logging. (issue [#&#8203;823](https://github.com/JFormDesigner/FlatLaf/issues/823)) - Added support for `JSplitPane.expandableSide` client property to `FlatSplitPane`. - Native libraries: Added API version check to test whether native library matches the JAR (bad builds could e.g. ship a newer JAR with an older incompatible native library) and to test whether native methods can be invoked (some security software allows loading native library but blocks method invocation). - macOS: Fixed crash when running in WebSwing. (issue [#&#8203;826](https://github.com/JFormDesigner/FlatLaf/issues/826); regression in 3.4) ##### Incompatibilities - File names of custom properties files for nested Laf classes now must include name of enclosing class name. E.g. nested Laf class `IntelliJTheme.ThemeLaf` used `ThemeLaf.properties` in previous versions, but now needs to be named `IntelliJTheme$ThemeLaf.properties`. ### [`v3.4`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#341) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/3.3...3.4) ##### Fixed bugs - SplitPane: Update divider when client property `JSplitPane.expandableSide` changed. - TabbedPane: Fixed swapped back and forward scroll buttons when using `TabbedPane.scrollButtonsPlacement = trailing` (regression in FlatLaf 3.3). - Fixed missing window top border on Windows 10 in "full window content" mode. (issue [#&#8203;809](https://github.com/JFormDesigner/FlatLaf/issues/809)) - Extras: - `FlatSVGIcon` color filters now support linear gradients. (PR [#&#8203;817](https://github.com/JFormDesigner/FlatLaf/issues/817)) - `FlatSVGIcon`: Use log level `CONFIG` instead of `SEVERE` and allow disabling logging. (issue [#&#8203;823](https://github.com/JFormDesigner/FlatLaf/issues/823)) - Added support for `JSplitPane.expandableSide` client property to `FlatSplitPane`. - Native libraries: Added API version check to test whether native library matches the JAR (bad builds could e.g. ship a newer JAR with an older incompatible native library) and to test whether native methods can be invoked (some security software allows loading native library but blocks method invocation). - macOS: Fixed crash when running in WebSwing. (issue [#&#8203;826](https://github.com/JFormDesigner/FlatLaf/issues/826); regression in 3.4) ##### Incompatibilities - File names of custom properties files for nested Laf classes now must include name of enclosing class name. E.g. nested Laf class `IntelliJTheme.ThemeLaf` used `ThemeLaf.properties` in previous versions, but now needs to be named `IntelliJTheme$ThemeLaf.properties`. ### [`v3.3`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#33) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/3.2.5...3.3) ##### New features and improvements - macOS (10.14+): Popups (`JPopupMenu`, `JComboBox`, `JToolTip`, etc.) now use native macOS rounded borders. (PR [#&#8203;772](https://github.com/JFormDesigner/FlatLaf/issues/772); issue [#&#8203;715](https://github.com/JFormDesigner/FlatLaf/issues/715)) - Native libraries: Added `libflatlaf-macos-arm64.dylib` and `libflatlaf-macos-x86_64.dylib`. See also <https://www.formdev.com/flatlaf/native-libraries/>. - ScrollPane: Support rounded border. (PR [#&#8203;713](https://github.com/JFormDesigner/FlatLaf/issues/713)) - SplitPane: Support divider hover and pressed background colors. (PR [#&#8203;788](https://github.com/JFormDesigner/FlatLaf/issues/788)) - TabbedPane: Support vertical tabs. (PR [#&#8203;758](https://github.com/JFormDesigner/FlatLaf/issues/758), issue [#&#8203;633](https://github.com/JFormDesigner/FlatLaf/issues/633)) - TabbedPane: Paint rounded tab area background for rounded cards. (issue [#&#8203;717](https://github.com/JFormDesigner/FlatLaf/issues/717)) - ToolBar: Added styling properties `separatorWidth` and `separatorColor`. ##### Fixed bugs - Button and ToggleButton: Selected buttons did not use explicitly set foreground color. (issue [#&#8203;756](https://github.com/JFormDesigner/FlatLaf/issues/756)) - FileChooser: Catch NPE in Java 21 when getting icon for `.exe` files that use default Windows exe icon. (see [JDK-8320692](https://bugs.openjdk.org/browse/JDK-8320692)) - OptionPane: Fixed styling custom panel background in `JOptionPane`. (issue [#&#8203;761](https://github.com/JFormDesigner/FlatLaf/issues/761)) - ScrollPane: Styling ScrollPane border properties did not work if view component is a Table. - Table: - Switching theme looses table grid and intercell spacing. (issues [#&#8203;733](https://github.com/JFormDesigner/FlatLaf/issues/733) and [#&#8203;750](https://github.com/JFormDesigner/FlatLaf/issues/750)) - Fixed background of `boolean` columns when using alternating row colors. (issue [#&#8203;780](https://github.com/JFormDesigner/FlatLaf/issues/780)) - Fixed border arc of components in complex table cell editors. (issue [#&#8203;786](https://github.com/JFormDesigner/FlatLaf/issues/786)) - TableHeader: - No longer temporary replace header cell renderer while painting. This avoids a `StackOverflowError` in case that custom renderer does this too. (see [NetBeans issue #&#8203;6835](https://github.com/apache/netbeans/issues/6835)) This also improves compatibility with custom table header implementations. - Header cell renderer background/foreground colors were not restored after hover if renderer uses `null` for background/foreground. (PR [#&#8203;790](https://github.com/JFormDesigner/FlatLaf/issues/790)) - TabbedPane: - Avoid unnecessary repainting whole tabbed pane content area when layouting leading/trailing components. - Avoid unnecessary repainting of selected tab on temporary changes. - Fixed "endless" layouting and repainting when using nested tabbed panes (top and bottom tab placement) and RSyntaxTextArea (with enabled line-wrapping) as tab content. (see [jadx issue #&#8203;2030](https://github.com/skylot/jadx/issues/2030)) - Fixed broken rendering after resizing window to minimum size and then increasing size again. (issue [#&#8203;767](https://github.com/JFormDesigner/FlatLaf/issues/767)) ##### Incompatibilities - Removed support for JetBrains custom decorations, which required [JetBrains Runtime](https://github.com/JetBrains/JetBrainsRuntime/wiki) (JBR) 8 or 11. It did not work for JBR 17. System property `flatlaf.useJetBrainsCustomDecorations` is now ignored. **Note**: FlatLaf window decorations continue to work with JBR. ### [`v3.2.5`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#325) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/3.2.4...3.2.5) ##### Fixed bugs - Popup: Fixed NPE if popup invoker is `null` on Windows 10. (issue [#&#8203;753](https://github.com/JFormDesigner/FlatLaf/issues/753); regression in 3.2.1 in fix for [#&#8203;626](https://github.com/JFormDesigner/FlatLaf/issues/626)) ### [`v3.2.4`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#324) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/3.2.3...3.2.4) ##### Fixed bugs - Popup: Fixed NPE if popup invoker is `null` on Linux with Wayland and Java 21. (issue [#&#8203;752](https://github.com/JFormDesigner/FlatLaf/issues/752); regression in 3.2.3) ### [`v3.2.3`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#323) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/3.2.2...3.2.3) ##### Fixed bugs - Popup: Popups that request focus were not shown on Linux with Wayland and Java 21. (issue [#&#8203;752](https://github.com/JFormDesigner/FlatLaf/issues/752)) ### [`v3.2.2`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#322) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/3.2.1...3.2.2) ##### Fixed bugs - Button: Fixed painting icon and text at wrong location when using HTML text, left/right vertical alignment and running in Java 19+. (issue [#&#8203;746](https://github.com/JFormDesigner/FlatLaf/issues/746)) - CheckBox and RadioButton: Fixed cut off right side when border is removed and horizontal alignment is set to `right`. (issue [#&#8203;734](https://github.com/JFormDesigner/FlatLaf/issues/734)) - TabbedPane: Fixed NPE when using focusable component as tab component and switching theme. (issue [#&#8203;745](https://github.com/JFormDesigner/FlatLaf/issues/745)) ### [`v3.2.1`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#321) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/3.2...3.2.1) ##### Fixed bugs - Fixed memory leak in `MultiResolutionImageSupport.create(int,Dimension[],Function<Dimension,Image>)`, which caches images created by the producer function. Used by `FlatSVGIcon.getImage()` and `FlatSVGUtils.createWindowIconImages()`. If you use one of these methods, it is **strongly recommended** to upgrade to this version, because if the returned image is larger and painted very often it may result in an out-of-memory situation. (issue [#&#8203;726](https://github.com/JFormDesigner/FlatLaf/issues/726)) - FileChooser: Fixed occasional NPE in `FlatShortcutsPanel` on Windows. (issue [#&#8203;718](https://github.com/JFormDesigner/FlatLaf/issues/718)) - TextField: Fixed placeholder text painting, which did not respect horizontal alignment property of `JTextField`. (issue [#&#8203;721](https://github.com/JFormDesigner/FlatLaf/issues/721)) - Popup: Fixed drop shadow if popup overlaps a heavyweight component. (Windows 10 only; issue [#&#8203;626](https://github.com/JFormDesigner/FlatLaf/issues/626)) ### [`v3.2`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#325) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/3.1.1...3.2) ##### Fixed bugs - Popup: Fixed NPE if popup invoker is `null` on Windows 10. (issue [#&#8203;753](https://github.com/JFormDesigner/FlatLaf/issues/753); regression in 3.2.1 in fix for [#&#8203;626](https://github.com/JFormDesigner/FlatLaf/issues/626)) ### [`v3.1.1`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#311) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/3.1...3.1.1) - IntelliJ Themes: - Fixed too large menu item paddings and too large table/tree row heights (all "Material Theme UI Lite" themes; issue [#&#8203;667](https://github.com/JFormDesigner/FlatLaf/issues/667); regression in FlatLaf 3.1). - Fixed too large tree row height in "Carbon", "Dark Purple", "Gray", "Material Design Dark", "Monokai Pro", "One Dark" and "Spacegray" themes. - Native libraries: Fixed `IllegalArgumentException: URI scheme is not "file"` when using FlatLaf in WebStart. (issue [#&#8203;668](https://github.com/JFormDesigner/FlatLaf/issues/668); regression in FlatLaf 3.1) ### [`v3.1`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#311) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/3.0...3.1) - IntelliJ Themes: - Fixed too large menu item paddings and too large table/tree row heights (all "Material Theme UI Lite" themes; issue [#&#8203;667](https://github.com/JFormDesigner/FlatLaf/issues/667); regression in FlatLaf 3.1). - Fixed too large tree row height in "Carbon", "Dark Purple", "Gray", "Material Design Dark", "Monokai Pro", "One Dark" and "Spacegray" themes. - Native libraries: Fixed `IllegalArgumentException: URI scheme is not "file"` when using FlatLaf in WebStart. (issue [#&#8203;668](https://github.com/JFormDesigner/FlatLaf/issues/668); regression in FlatLaf 3.1) ### [`v3.0`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#30) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/2.6...3.0) ##### New features and improvements - **macOS light and dark themes**: The two new themes `FlatMacLightLaf` and `FlatMacDarkLaf` use macOS colors and look similar to native macOS controls. (PRs [#&#8203;533](https://github.com/JFormDesigner/FlatLaf/issues/533), [#&#8203;612](https://github.com/JFormDesigner/FlatLaf/issues/612) and [#&#8203;607](https://github.com/JFormDesigner/FlatLaf/issues/607)) - **Fonts**: Packaged some fonts into JARs and provide an easy way to use them with FlatLaf. (PRs [#&#8203;545](https://github.com/JFormDesigner/FlatLaf/issues/545), [#&#8203;614](https://github.com/JFormDesigner/FlatLaf/issues/614) and [#&#8203;615](https://github.com/JFormDesigner/FlatLaf/issues/615)) At the moment there are three fonts: - **Inter** (<https://rsms.me/inter/>) - a typeface carefully crafted & designed for computer screens - **Roboto** (<https://fonts.google.com/specimen/Roboto>) - default font on Android and recommended for Material Design - **JetBrains Mono** (<https://www.jetbrains.com/mono>) - a monospaced typeface - **Rounded selection**: Optionally use rounded selection in: - Menus (PR [#&#8203;536](https://github.com/JFormDesigner/FlatLaf/issues/536)) - ComboBox (PR [#&#8203;548](https://github.com/JFormDesigner/FlatLaf/issues/548)) - List (PR [#&#8203;547](https://github.com/JFormDesigner/FlatLaf/issues/547)) - Tree (PR [#&#8203;546](https://github.com/JFormDesigner/FlatLaf/issues/546)) - Tree: Hide default closed/opened/leaf icons by default. Set UI value `Tree.showDefaultIcons` to `true` to show them. - ToolBar: Hover effect for button groups. (PR [#&#8203;534](https://github.com/JFormDesigner/FlatLaf/issues/534)) - Icons: New modern **rounded outlined icons** for `JFileChooser`, `JOptionPane`, `JPasswordField` and `JTree`. (PR [#&#8203;577](https://github.com/JFormDesigner/FlatLaf/issues/577)) ##### Fixed bugs - FileChooser: Fixed layout of (optional) accessory component and fixed too large right margin. (issue [#&#8203;604](https://github.com/JFormDesigner/FlatLaf/issues/604); regression since implementing PR [#&#8203;522](https://github.com/JFormDesigner/FlatLaf/issues/522) in FlatLaf 2.3) - Tree: - Fixed missing tree lines (if enabled) for wide-selected rows. (issue [#&#8203;598](https://github.com/JFormDesigner/FlatLaf/issues/598)) - Fixed scaling of tree lines and fixed alignment to expand/collapse arrows. - Removed support for dashed tree lines. `Tree.lineTypeDashed` is now ignored. - SwingX: Fonts in `JXHeader`, `JXMonthView`, `JXTaskPane` and `JXTitledPanel` were not updated when changing default font. ### [`v2.6`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#26) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/2.5...2.6) ##### New features and improvements - If value of system property `flatlaf.nativeLibraryPath` is `system`, then `System.loadLibrary(String)` is used to load the native library. - TabbedPane: Switch and close tabs on left mouse click only. (PR [#&#8203;595](https://github.com/JFormDesigner/FlatLaf/issues/595)) ##### Fixed bugs - ComboBox and Spinner: Fixed missing arrow buttons if preferred height is zero. Minimum width of arrow buttons is 3/4 of default width. - MenuBar: Fixed NPE in `FlatMenuItemRenderer.getTopLevelFont()` if menu item does not have a parent. (issue [#&#8203;600](https://github.com/JFormDesigner/FlatLaf/issues/600); regression since implementing [#&#8203;589](https://github.com/JFormDesigner/FlatLaf/issues/589) in FlatLaf 2.5) - ScrollBar: Show "pressed" feedback on track/thumb only for left mouse button. If absolute positioning is enabled (the default), then also for middle mouse button. - Arrow buttons in ComboBox, Spinner, ScrollBar and TabbedPane: Show "pressed" feedback only for left mouse button. - ScaledImageIcon: Do not throw exceptions if image was has invalid size (e.g. not found). Instead, paint a red rectangle (similar to `FlatSVGIcon`). - Fixed NPE in `FlatUIUtils.isCellEditor()`. (issue [#&#8203;601](https://github.com/JFormDesigner/FlatLaf/issues/601)) ### [`v2.5`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#325) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/2.4...2.5) ##### Fixed bugs - Popup: Fixed NPE if popup invoker is `null` on Windows 10. (issue [#&#8203;753](https://github.com/JFormDesigner/FlatLaf/issues/753); regression in 3.2.1 in fix for [#&#8203;626](https://github.com/JFormDesigner/FlatLaf/issues/626)) ### [`v2.4`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#324) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/2.3...2.4) ##### Fixed bugs - Popup: Fixed NPE if popup invoker is `null` on Linux with Wayland and Java 21. (issue [#&#8203;752](https://github.com/JFormDesigner/FlatLaf/issues/752); regression in 3.2.3) ### [`v2.3`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#323) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/2.2...2.3) ##### Fixed bugs - Popup: Popups that request focus were not shown on Linux with Wayland and Java 21. (issue [#&#8203;752](https://github.com/JFormDesigner/FlatLaf/issues/752)) ### [`v2.2`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#322) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/2.1...2.2) ##### Fixed bugs - Button: Fixed painting icon and text at wrong location when using HTML text, left/right vertical alignment and running in Java 19+. (issue [#&#8203;746](https://github.com/JFormDesigner/FlatLaf/issues/746)) - CheckBox and RadioButton: Fixed cut off right side when border is removed and horizontal alignment is set to `right`. (issue [#&#8203;734](https://github.com/JFormDesigner/FlatLaf/issues/734)) - TabbedPane: Fixed NPE when using focusable component as tab component and switching theme. (issue [#&#8203;745](https://github.com/JFormDesigner/FlatLaf/issues/745)) ### [`v2.1`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#321) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/2.0.2...2.1) ##### Fixed bugs - Fixed memory leak in `MultiResolutionImageSupport.create(int,Dimension[],Function<Dimension,Image>)`, which caches images created by the producer function. Used by `FlatSVGIcon.getImage()` and `FlatSVGUtils.createWindowIconImages()`. If you use one of these methods, it is **strongly recommended** to upgrade to this version, because if the returned image is larger and painted very often it may result in an out-of-memory situation. (issue [#&#8203;726](https://github.com/JFormDesigner/FlatLaf/issues/726)) - FileChooser: Fixed occasional NPE in `FlatShortcutsPanel` on Windows. (issue [#&#8203;718](https://github.com/JFormDesigner/FlatLaf/issues/718)) - TextField: Fixed placeholder text painting, which did not respect horizontal alignment property of `JTextField`. (issue [#&#8203;721](https://github.com/JFormDesigner/FlatLaf/issues/721)) - Popup: Fixed drop shadow if popup overlaps a heavyweight component. (Windows 10 only; issue [#&#8203;626](https://github.com/JFormDesigner/FlatLaf/issues/626)) ### [`v2.0.2`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#202) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/2.0.1...2.0.2) - Native window decorations (Windows 10/11 only): Fixed rendering artifacts on HiDPI screens when dragging window partly offscreen and back into screen bounds. (issue [#&#8203;477](https://github.com/JFormDesigner/FlatLaf/issues/477)) - Repaint component when setting client property `JComponent.outline` (issue [#&#8203;480](https://github.com/JFormDesigner/FlatLaf/issues/480)). - macOS: Fixed NPE when using some icons in main menu items. (issue [#&#8203;483](https://github.com/JFormDesigner/FlatLaf/issues/483)) ### [`v2.0.1`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#201) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/2.0...2.0.1) - Fixed memory leak in Panel, Separator and ToolBarSeparator. (issue [#&#8203;471](https://github.com/JFormDesigner/FlatLaf/issues/471); regression in FlatLaf 2.0) - ToolTip: Fixed wrong tooltip location if component overrides `JComponent.getToolTipLocation()` and wants place tooltip under mouse location. (issue [#&#8203;468](https://github.com/JFormDesigner/FlatLaf/issues/468)) - Extras: Added copy constructor to `FlatSVGIcon`. (issue [#&#8203;465](https://github.com/JFormDesigner/FlatLaf/issues/465)) - Moved `module-info.class` from `META-INF\versions\9\` to root folder of JARs. (issue [#&#8203;466](https://github.com/JFormDesigner/FlatLaf/issues/466)) ### [`v2.0`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#202) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/1.6.5...2.0) - Native window decorations (Windows 10/11 only): Fixed rendering artifacts on HiDPI screens when dragging window partly offscreen and back into screen bounds. (issue [#&#8203;477](https://github.com/JFormDesigner/FlatLaf/issues/477)) - Repaint component when setting client property `JComponent.outline` (issue [#&#8203;480](https://github.com/JFormDesigner/FlatLaf/issues/480)). - macOS: Fixed NPE when using some icons in main menu items. (issue [#&#8203;483](https://github.com/JFormDesigner/FlatLaf/issues/483)) ### [`v1.6.5`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#165) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/1.6.4...1.6.5) ##### Fixed bugs - Linux: Fixed font problems when running on Oracle Java (OpenJDK is not affected): - oversized text if system font is "Inter" (issue [#&#8203;427](https://github.com/JFormDesigner/FlatLaf/issues/427)) - missing text if system font is "Cantarell" (on Fedora) - MenuItem: Changed accelerator delimiter from `-` to `+`. (Windows and Linux). - ComboBox: Fixed occasional `StackOverflowError` when modifying combo box not on AWT thread. (issue [#&#8203;432](https://github.com/JFormDesigner/FlatLaf/issues/432)) - macOS: Fixed `NullPointerException` when using AWT component `java.awt.Choice`. (issue [#&#8203;439](https://github.com/JFormDesigner/FlatLaf/issues/439)) - Native window decorations: Do not exit application with `UnsatisfiedLinkError` in case that FlatLaf DLL cannot be executed because of restrictions on temporary directory. Instead, continue with default window decorations. (issue [#&#8203;436](https://github.com/JFormDesigner/FlatLaf/issues/436)) ### [`v1.6.4`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#164) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/1.6.3...1.6.4) ##### Fixed bugs - ComboBox: Fixed regression in FlatLaf 1.6.3 that makes selected item invisible in popup list if `DefaultListCellRenderer` is used as renderer. If using default renderer, it works. (issue [#&#8203;426](https://github.com/JFormDesigner/FlatLaf/issues/426)) ### [`v1.6.3`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#163) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/1.6.2...1.6.3) ##### Fixed bugs - ComboBox (not editable): Fixed regression in FlatLaf 1.6.2 that may display text in non-editable combo boxes in bold. (issue [#&#8203;423](https://github.com/JFormDesigner/FlatLaf/issues/423)) - Tree: Fixed editing cell issue with custom cell renderer and cell editor that use same component for rendering and editing. (issue [#&#8203;385](https://github.com/JFormDesigner/FlatLaf/issues/385)) ### [`v1.6.2`](https://github.com/JFormDesigner/FlatLaf/blob/HEAD/CHANGELOG.md#162) [Compare Source](https://github.com/JFormDesigner/FlatLaf/compare/1.6.1...1.6.2) ##### Fixed bugs - ComboBox (not editable): Fixed background painted outside of border if round edges are enabled (client property `JComponent.roundRect` is `true`). (similar to issue [#&#8203;382](https://github.com/JFormDesigner/FlatLaf/issues/382); regression since fixing [#&#8203;330](https://github.com/JFormDesigner/FlatLaf/issues/330) in FlatLaf 1.4) - ComboBox: Fixed `NullPointerException`, which may occur under special circumstances. (issue [#&#8203;408](https://github.com/JFormDesigner/FlatLaf/issues/408)) - Table: Do not select text in cell editor when it gets focus (when `JTable.surrendersFocusOnKeystroke` is `true`) and `TextComponent.selectAllOnFocusPolicy` is `once` (the default) or `always`. (issue [#&#8203;395](https://github.com/JFormDesigner/FlatLaf/issues/395)) - Linux: Fixed NPE when using `java.awt.TrayIcon`. (issue [#&#8203;405](https://github.com/JFormDesigner/FlatLaf/issues/405)) - FileChooser: Workaround for crash on Windows with Java 17 32-bit (disabled Windows icons). Java 17 64-bit is not affected. (issue [#&#8203;403](https://github.com/JFormDesigner/FlatLaf/issues/403)) - Native window decorations: Fixed layout loop, which may occur under special circumstances and slows down the application. (issue [#&#8203;420](https://github.com/JFormDesigner/FlatLaf/issues/420)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS44Mi4zIiwidXBkYXRlZEluVmVyIjoiNDIuNjQuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==-->
renovate-bot force-pushed renovate/com.formdev-flatlaf-3.x from 3976f651f1 to c9c922b528 2025-10-11 06:03:29 +01:00 Compare
renovate-bot force-pushed renovate/com.formdev-flatlaf-3.x from c9c922b528 to c843c65586 2025-12-05 05:03:24 +00:00 Compare
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/com.formdev-flatlaf-3.x:renovate/com.formdev-flatlaf-3.x
git switch renovate/com.formdev-flatlaf-3.x

Merge

Merge the changes and update on Forgejo.
git switch master
git merge --no-ff renovate/com.formdev-flatlaf-3.x
git switch renovate/com.formdev-flatlaf-3.x
git rebase master
git switch master
git merge --ff-only renovate/com.formdev-flatlaf-3.x
git switch renovate/com.formdev-flatlaf-3.x
git rebase master
git switch master
git merge --no-ff renovate/com.formdev-flatlaf-3.x
git switch master
git merge --squash renovate/com.formdev-flatlaf-3.x
git switch master
git merge --ff-only renovate/com.formdev-flatlaf-3.x
git switch master
git merge renovate/com.formdev-flatlaf-3.x
git push origin master
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MobiusReactor/AW-Map!6
No description provided.