Skip to content

3.1

Compare
Choose a tag to compare
@DevCharly DevCharly released this 12 Apr 12:22
· 331 commits to main since this release

Highlights

Windows 11: rounded popup borders

On Windows 11, popups now use native Windows 11 rounded borders and drop shadows, which gives them a beautiful look:

image

Table: header hover and pressed feedback

Columns in table header now show hover and pressed feedback:

image

Change Log

New features and improvements

  • Windows 11: Popups (JPopupMenu, JComboBox, JToolTip, etc.) now use
    native Windows 11 rounded borders and drop shadows. (PR #643)
  • Fonts:
  • Theme Editor: Support macOS light and dark themes.
  • TabbedPane: Support hover and focused tab foreground colors. (issue #627)
  • TabbedPane: tabbedPane.getBackgroundAt(tabIndex) now has higher priority
    than TabbedPane.focusColor and TabbedPane.selectedBackground. If
    tabbedPane.setBackgroundAt(tabIndex) is used to set a color for a single
    tab, then this color is now used even if the tab is focused or selected.
  • TableHeader: Support column hover and pressed background and foreground
    colors. (issue #636)
  • Native libraries: Made it easier to distribute FlatLaf native libraries
    (Windows .dll and Linux .so) to avoid problems on operating systems with
    enabled execution restrictions.
    See https://www.formdev.com/flatlaf/native-libraries/ for more details. (issue #624)
    • Published native libraries to Maven Central for easy using them as
      dependencies in Gradle and Maven.
    • If available, native libraries are now loaded from same location as
      flatlaf.jar, otherwise they are extract from flatlaf.jar to temporary
      folder and loaded from there.
    • Windows DLLs are now digitally signed with FormDev Software GmbH certificate.

Fixed bugs

  • FlatLaf window decorations:
    • Fixed inconsistent size of glass pane depending on whether FlatLaf window
      decorations are used (e.g. Windows 10/11) or not (e.g. macOS). Now the glass
      pane no longer overlaps the FlatLaf window title bar. (issue #630)
    • Linux: Fixed broken window resizing on multi-screen setups. (issue #632)
    • Linux: Fixed behavior of maximize/restore button when tiling window to left
      or right half of screen. (issue #647)
  • IntelliJ Themes:
    • Fixed default button hover background in "Solarized Light" theme. (issue #628)
    • Avoid that accent color affect some colors in some IntelliJ themes. (issue #625)
    • Updated "Hiberbee Dark" and "Material Theme UI Lite" themes.
  • Styling: Fixed resolving of UI variables in styles that use other variables.
  • MenuItem: Fixed horizontal alignment of icons. (issue #631)
  • Table: Fixed potential performance issue with paint cell focus indicator
    border. (issue #654)
  • Tree: Fixed missing custom closed/opened/leaf icons of a custom
    DefaultTreeCellRenderer. (issue #653; regression since implementing PR #609
    in FlatLaf 3.0)
  • Tree: Fixed truncated node text and too small painted non-wide node background
    if custom cell renderer sets icon, but not disabled icon, and tree is
    disabled. (issue #640)
  • Fixed HiDPIUtils.paintAtScale1x(), which painted at wrong location if
    graphics is rotated, is scaled and x or y parameters are not zero. (issue #646)