github JFormDesigner/FlatLaf 0.22

latest releases: 3.4.1, 3.4, fonts/inter-4.0...
4 years ago

Highlights

Placeholder text for text fields:

image

myTextField.putClientProperty("JTextField.placeholderText", "Search");

Tab Separators:

image

UIManager.put( "TabbedPane.showTabSeparators", true );

Background color for selected tab:

image

UIManager.put( "TabbedPane.selectedBackground", Color.WHITE );

ProgressBar styling:

image

Change Log

  • TextComponent: Support placeholder text that is displayed if text field is
    empty (set client property "JTextField.placeholderText" to a string).
  • TextComponent: Scale caret width on HiDPI screens when running on Java 8.
  • ProgressBar: If progress text is visible:
    • use smaller font
    • reduced height
    • changed style to rounded rectangle
    • fixed painting issues on low values
  • ProgressBar: Support configure of arc with ProgressBar.arc.
  • ProgressBar: Reduced thickness from 6 to 4.
  • TabbedPane: Support background color for selected tabs
    (TabbedPane.selectedBackground) and separators between tabs
    (TabbedPane.showTabSeparators).
  • CheckBox: changed CheckBox.arc from radius to diameter to be consistent with
    Button.arc and Component.arc
  • Button: Enabled Button.defaultButtonFollowsFocus on Windows, which allows
    pressing focused button with Enter key (as in Windows LaF).
  • Fixed clipped borders at 125%, 150% and 175% scaling when outer focus width is
    zero (default in "Flat Light" and "Flat Dark" themes).
  • On Mac show mnemonics only when Ctrl and Alt keys are
    pressed. (issue #4)

Don't miss a new FlatLaf release

NewReleases is sending notifications on new releases.