3.1
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:
Table: header hover and pressed feedback
Columns in table header now show hover and pressed feedback:
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:
- Added Roboto Mono (https://fonts.google.com/specimen/Roboto+Mono). (PR #639, issue #638)
- Updated JetBrains Mono to v2.304.
- 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
thanTabbedPane.focusColor
andTabbedPane.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 fromflatlaf.jar
to temporary
folder and loaded from there. - Windows DLLs are now digitally signed with FormDev Software GmbH certificate.
- Published native libraries to Maven Central for easy using them as
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)
- Fixed inconsistent size of glass pane depending on whether FlatLaf window
- IntelliJ 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 andx
ory
parameters are not zero. (issue #646)