Releases: JFormDesigner/FlatLaf
Releases · JFormDesigner/FlatLaf
0.23.1
- Tree: Fixed wide selection if scrolled horizontally.
- ComboBox: Fixed NPE in Oracle SQL Developer settings.
- IntelliJ Themes: Fixed checkbox colors in Material UI Lite dark themes.
0.23
Highlights
This release brings some updated colors in "Flat Light" and "Flat IntelliJ" themes, wide selection in Tree, reduced clutter in selections by hiding focus indicator in List, Tree and Table cells.
New:
Old:
Change Log
- Updated colors in "Flat Light" and "Flat IntelliJ" themes with colors from
"IntelliJ Light Theme", which provides blue coloring that better matches
platform colors. - Tree: Support wide selection (enabled by default).
- Table: Hide grid and changed intercell spacing to zero.
- List, Table and Tree: Added colors for drag-and-drop. Added "enable drag and
drop" checkbox to Demo on "Data Components" tab. - List and Tree: Hide cell focus indicator (black rectangle) by default. Can be
enabled withList.showCellFocusIndicator=true
/
Tree.showCellFocusIndicator=true
, but then the cell focus indicator is shown
only if more than one item is selected. - Table: Hide cell focus indicator (black rectangle) by default if none of the
selected cells is editable. Can be show always with
Table.showCellFocusIndicator=true
. - Support basic color functions in
.properties
files:rgb(red,green,blue)
,
rgba(red,green,blue,alpha)
,hsl(hue,saturation,lightness)
,
hsla(hue,saturation,lightness,alpha)
,lighten(color,amount[,options])
and
darken(color,amount[,options])
. - Replaced prefix
@@
with$
in.properties
files. - Fixed link color (in HTML text) and separator color in IntelliJ platform
themes. - Use logging instead of printing errors to
System.err
. - Updated IntelliJ Themes in demo to the latest versions.
- IntelliJ Themes: Fixed link and separator colors.
0.22
Highlights
Placeholder text for text fields:
myTextField.putClientProperty("JTextField.placeholderText", "Search");
Tab Separators:
UIManager.put( "TabbedPane.showTabSeparators", true );
Background color for selected tab:
UIManager.put( "TabbedPane.selectedBackground", Color.WHITE );
ProgressBar styling:
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
andComponent.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)
0.21
- ScrollBar: Show decrease/increase arrow buttons if client property
"JScrollBar.showButtons" is set totrue
onJScrollPane
orJScrollBar
.
(issue #25) FlatLaf.isNativeLookAndFeel()
now returnsfalse
.- Button: Optionally support gradient borders, gradient backgrounds and shadows
for improved compatibility with IntelliJ platform themes (e.g. for Vuesion,
Spacegray and Material Design Dark themes). - Button: Fixed help button styling in IntelliJ platform themes.
- ScrollPane: Paint disabled border if view component (e.g. JTextPane) is
disabled. - Fixed Swing system colors in dark themes.
0.20
Starting with this release, FlatLaf can use 3rd party themes created for IntelliJ Platform, which increases the number of available themes for FlatLaf significantly.
Details: https://www.formdev.com/flatlaf/themes/#intellij_platform_themes
With more that 50 commits, this a large release:
- Support using IntelliJ platform themes (.theme.json files).
- Support
JFileChooser
. (issue #5) - Look and feel identifier returned by
FlatLaf.getID()
now always starts with
"FlatLaf". UseUIManager.getLookAndFeel().getID().startsWith( "FlatLaf" )
to
check whether the current look and feel is FlatLaf. - Fixed selection background of checkbox in table cell.
- Fixed color of links in HTML text.
- Fixed jittery submenu rendering on Mac. (issue #10)
- Fixed "cannot find symbol" error in NetBeans editor, when source/binary format
is set to JDK 9 (or later) in NetBeans project. (issue #13) - Button: Make button square if button text is "..." or a single character.
- ComboBox: Fixed issues with NetBeans
org.openide.awt.ColorComboBox
component. - Hex color values in
.properties
files now must start with a#
character. - SwingX: Support
JXTitledPanel
. (issue #22) - SwingX: Fixed too wide border when using date picker as table cell editor.
(issue #24) - JIDE Common Layer: Fixed
JidePopup
border.
0.18
- TextField and TextArea: Do not apply minimum width if
columns
property is
greater than zero. - TabbedPane: In scroll-tab-layout, the separator line now spans the whole width
and is no longer interrupted by the scroll buttons. - TabbedPane: Content pane is no longer opaque. Use antialiasing for painting
separator and content border. - ToolTip: Use anti-aliasing to render multi-line tooltips.
- JIDE Common Layer: Support
JideTabbedPane
.
0.17
- CheckBox: Support painting a third state (set client property
"JButton.selectedState" to "indeterminate"). TriStateCheckBox
component added (see FlatLaf Extras).- Made
JComboBox
,JProgressBar
,JSpinner
andJXDatePicker
non-opaque.
JPasswordField
,JScrollPane
andJTextField
are non-opaque if they have
an outside focus border (e.g. IntelliJ and Darcula themes). (issues #20 and
#17) - Button: Hover and pressed background colors are now derived from actual button
background color. (issue #21) - Table: Fixed missing upper right corner (e.g. in SwingX JXTable with column
control visible).
0.16
0.15
0.14
- ComboBox: Use small border if used as table editor.
- ToolBar: Disable focusability of buttons in toolbar.
- OptionPane: Fixed rendering of longer HTML text. (issue #12)
- EditorPane and TextPane: Fixed font and text color when using HTML content.
(issue #9) - ComboBox: Fixed
StackOverflowError
when switching LaF. (issue #14) - SwingX: Support
JXBusyLabel
,JXDatePicker
,JXHeader
,JXHyperlink
,
JXMonthView
,JXTaskPaneContainer
andJXTaskPane
. (issue #8)