github JFormDesigner/FlatLaf 1.4

latest releases: 3.5.2, 3.5.1, 3.5...
3 years ago

Change log

New features and improvements

  • TextField, FormattedTextField and PasswordField: Support adding extra padding.
    (set client property JTextField.padding to Insets).
  • PasswordField: UI delegate FlatPasswordFieldUI now extends FlatTextFieldUI
    (instead of BasicPasswordFieldUI) to avoid duplicate code and for easier extensibility.
  • Table and PopupFactory: Use StackWalker in Java 9+ for better performance. (issue #334)
  • ToolBar: Paint focus indicator for focused button in toolbar. (issue #346)
  • ToolBar: Support focusable buttons in toolbar (set UI values
    ToolBar.focusableButtons to true). (issue #346)

Fixed bugs

  • ComboBox (editable) and Spinner: Increased size of internal text field to the
    component border so that it behaves like plain text field (mouse click to left
    of text now positions caret to first character instead of opening ComboBox
    popup; mouse cursor is now of type "text" within the whole component, except
    for arrow buttons). (issue #330)
  • ComboBox (not editable): Increased size of internal renderer pane to the
    component border so that it can paint within the whole component. Also
    increase combo box size if a custom renderer uses a border with insets that
    are larger than the default combo box padding (2,6,2,6).
  • Fixed component heights at 1.25x, 1.75x and 2.25x scaling factors (Java
    8 only) so that Button, ComboBox, Spinner and TextField components (including
    subclasses) have same heights. This increases heights of Button and TextField
    components by:
    • 2px at 1.75x in Light and Dark themes
    • 2px at 1.25x and 2.25x in IntelliJ and Darcula themes
  • OptionPane: Do not make child components, which are derived from JPanel, non-opaque. (issue #349)
  • OptionPane: Align wrapped lines to the right if component orientation is right-to-left. (issue #350)
  • PasswordField: Caps lock icon no longer painted over long text. (issue #172)
  • PasswordField: Paint caps lock icon on left side in right-to-left component orientation.
  • Window decorations: Window title bar width is no longer considered when
    calculating preferred/minimum width of window. (issue #351)

Don't miss a new FlatLaf release

NewReleases is sending notifications on new releases.