github JFormDesigner/FlatLaf 3.0

latest releases: 3.5.2, 3.5.1, 3.5...
23 months ago

Hooray, hooray, it's done. FlatLaf 3.0 is here 🎁 🎉 🎅 🤶 🧑‍🎄

BTW if you'd like to support the FlatLaf open-source project, please consider sponsoring it. Thank you very much for doing so.

Highlights

macOS themes

New light and dark themes that use macOS colors and look similar to native macOS controls:

image

Fonts

Packaged fonts Inter, Roboto and JetBrains Mono into JARs (available on Maven Central) and provide an easy way to use them with FlatLaf.

Rounded selection

JMenuItem, JComboBox, JList and JTree components now support rounded selection.
This is currently used only in macOS themes for menus and combo boxes, but may be used in standard themes as well in the future.
Feel free to use it in own themes to give your application a special look. See PRs for instructions.

image

Rounded outlined icons

JFileChooser, JOptionPane, JPasswordField and JTree got new modern rounded outlined icons:

image

Change Log

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.

Don't miss a new FlatLaf release

NewReleases is sending notifications on new releases.