- Menus: Fixed text color of selected menu items that use HTML. (issue #87)
- Hide mnemonics if window is deactivated (e.g. Alt+Tab to another window). (issue #43)
- Improved creation of disabled grayscale icons used in disabled buttons, labels and tabs. They now have more contrast and are lighter in light themes and darker in dark themes. (issue #70)
- IntelliJ Themes: Fixed ComboBox size and Spinner border in all Material UI Lite themes and limit tree row height in all Material UI Lite themes and some other themes.
- IntelliJ Themes: Material UI Lite themes did not work when using IntelliJ Themes Pack addon. (PR #88, issue #89)
- IntelliJ Themes: Added Java 9 module descriptor to
flatlaf-intellij-themes-<version>.jar
.
- New IntelliJ Themes Pack addon bundles many popular open-source 3rd party themes from JetBrains Plugins Repository into a JAR and provides Java classes to use them.
- IntelliJ Themes: Fixed button and toggle button colors. (issue #86)
- Updated IntelliJ Themes in demo to the latest versions.
- ToggleButton: Compute selected background color based on current component background. (issue #32)
- Focus indication border (or background) no longer hidden when temporary loosing focus (e.g. showing a popup menu).
- List, Table and Tree: Item selection color of focused components no longer change from blue to gray when temporary loosing focus (e.g. showing a popup menu).
- Windows: Fixed rendering of Unicode characters. Previously not all Unicode characters were rendered on Windows. (issue #81)
- Linux: Fixed scaling if
GDK_SCALE
environment variable is set or if running on JetBrains Runtime. (issue #69) - Tree: Fixed repainting wide selection on focus gained/lost.
- ComboBox: No longer ignore
JComboBox.prototypeDisplayValue
when computing popup width. (issue #80) - Support changing default font used for all components with automatic scaling
UI if using larger font. Use
UIManager.put( "defaultFont", myFont );
- No longer use system property
sun.java2d.uiScale
. (Java 8 only) - Support specifying custom scale factor in system property
flatlaf.uiScale
also for Java 9 and later. - Demo: Support using own FlatLaf themes (
.properties
files) that are located in working directory of Demo application. Shown in the "Themes" list under category "Current Directory".
- PasswordField: Warn about enabled Caps Lock.
- TabbedPane: Support Ctrl+TAB / Ctrl+Shift+TAB to switch to next / previous tab.
- TextField, FormattedTextField and PasswordField: Support round borders (see UI
default value
TextComponent.arc
). (issue #65) - IntelliJ Themes: Added Gradianto themes to demo.
- Button, CheckBox and RadioButton: Fixed NPE when button has children. (PR #68)
- ScrollBar: Improved colors.
- Reviewed (and tested) all key bindings on Windows and macOS. Linux key bindings are equal to Windows key bindings. macOS key bindings are slightly different for platform specific behavior.
- UI default values are no longer based on Metal/Aqua UI defaults.
- Support
JInternalFrame
andJDesktopPane
. (issues #39 and #11) - Table: Support positioning the column sort arrow in header right, left, top or bottom. (issue #34)
- ProgressBar: Fixed visual artifacts in indeterminate mode, on HiDPI screens at 125%, 150% and 175% scaling, when the progress moves around.
- TabbedPane: New option to allow tab separators to take full height (to enable
use
UIManager.put( "TabbedPane.tabSeparatorsFullHeight", true );
). (issue #59, PR #62) - CheckBox and RadioButton: Do not fill background if
contentAreaFilled
isfalse
. (issue #58, PR #63) - ToggleButton: Make toggle button square if it has an icon but no text or text is "..." or a single character.
- ToolBar: No longer use special rollover border for buttons in toolbar. (issue #36)
- ToolBar: Added empty space around buttons in toolbar and toolbar itself (see
UI default values
Button.toolbar.spacingInsets
andToolBar.borderMargins
). (issue #56) - Fixed "illegal reflective access operation" warning on macOS when using Java 12 or later. (issue #60, PR #61)
- Menus:
- Changed menu bar and popup menu background colors (made brighter in light themes and darker in dark themes).
- Highlight items in menu bar on mouse hover. (issue #49)
- Popup menus now have empty space at the top and bottom.
- Menu items now have larger left and right margins.
- Made
JMenu
,JMenuItem
,JCheckBoxMenuItem
andJRadioButtonMenuItem
non-opaque.
- TextField, FormattedTextField and PasswordField: Select all text when a text
field gains focus for the first time and selection was not set explicitly.
This can be configured to newer or always select all text on focus gain (see
UI default value
TextComponent.selectAllOnFocusPolicy
). - ProgressBar: Made progress bar paint smooth in indeterminate mode.
Re-release of 0.25 because of problems with Maven Central.
- Hide menu mnemonics by default and show them only when Alt key is pressed. (issue #43)
- Menu: Fixed vertical alignment of sub-menus. (issue #42)
- TabbedPane: In scroll-tab-layout, the cropped line is now hidden. (issue #40)
- Tree: UI default value
Tree.textBackground
now has a valid color and is no longernull
. - Tree on macOS: Fixed Left and Right keys to collapse or expand nodes.
- ComboBox on macOS: Fixed keyboard navigation and show/hide popup.
- Button and ToggleButton: Support per component minimum height (set client
property
JComponent.minimumHeight
to an integer). (issue #44) - Button and ToggleButton: Do not apply minimum width if button border was
changed (is no longer an instance of
FlatButtonBorder
). - ToggleButton: Renamed toggle button type "underline" to "tab" (value of client
property
JButton.buttonType
is nowtab
). - ToggleButton: Support per component styling for tab-style toggle buttons with
client properties
JToggleButton.tab.underlineHeight
(integer),JToggleButton.tab.underlineColor
(Color) andJToggleButton.tab.selectedBackground
(Color). (issue #45) - ToggleButton: No longer use focus width for tab-style toggle buttons to compute component size, which reduces/fixes component size in "Flat IntelliJ" and "Flat Darcula" themes.
- TabbedPane: Support per component tab height (set client property
JTabbedPane.tabHeight
to an integer). - ProgressBar: Support square painting (set client property
JProgressBar.square
totrue
) and larger height even if no string is painted (set client propertyJProgressBar.largeHeight
totrue
).
- Support smooth scrolling with touchpads and high precision mouse wheels. (issue #27)
- Changed
.properties
file loading order: Now all core.properties
files are loaded before loading addon.properties
files. This makes it easier to overwrite core values in addons. Also, addon loading order can be specified. - TableHeader: Paint column borders if renderer has changed, but delegates to the system default renderer (e.g. done in NetBeans).
- Label and ToolTip: Fixed font sizes for HTML headings.
- Button and ToggleButton: Support square button style (set client property
JButton.buttonType
tosquare
). - ToggleButton: Support underline toggle button style (set client property
JButton.buttonType
tounderline
). - Button and TextComponent: Support per component minimum width (set client
property
JComponent.minimumWidth
to an integer). - ScrollPane with Table: The border of buttons that are added to one of the four scroll pane corners are now removed if the center component is a table. Also, these corner buttons are made not focusable.
- Table: Replaced
Table.showGrid
withTable.showHorizontalLines
andTable.showVerticalLines
. (issue #38) - ProgressBar: Now uses blueish color for the progress part in "Flat Dark" theme. In the "Flat Darcula" theme, it remains light gray.
- Improved Swing system colors
controlHighlight
,controlLtHighlight
,controlShadow
andcontrolDkShadow
.
- 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.
- 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 with
List.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])
anddarken(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.
- 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 withButton.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)
- ScrollBar: Show decrease/increase arrow buttons if client property
"JScrollBar.showButtons" is set to
true
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.
- 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.
- 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
.
- 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).
- Made some fixes for right-to-left support in ComboBox, Slider and ToolTip. (issue #18)
- Fixed Java 9 module descriptor (broken since 0.14).
- Made
JButton
,JCheckBox
,JRadioButton
,JToggleButton
andJSlider
non-opaque. (issue #20)
- ToolTip: Improved styling of dark tooltips (darker background, no border).
- ToolTip: Fixed colors in tooltips of disabled components. (issue #15)
- ComboBox: Fixed NPE in combobox with custom renderer after switching to FlatLaf. (issue #16; regression in 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)
- Added developer information to Maven POM for Maven Central publishing.
- Support Linux. (issue #2)
- Added
Flat*Laf.install()
methods. - macOS: Use native screen menu bar if system property
apple.laf.useScreenMenuBar
istrue
. - Windows: Update fonts (and scaling) when user changes Windows text size (Settings > Ease of Access > Display > Make text bigger).
- Changed Maven groupId to
com.formdev
and artifactId toflatlaf
.
- Use new chevron arrows in "Flat Light" and "Flat Dark" themes, but keep triangle arrows in "Flat IntelliJ" and "Flat Darcula" themes. (issue #7)
- Use bold font for default buttons in "Flat IntelliJ" and "Flat Darcula" themes.
- Hide label, button and tab mnemonics by default and show them only when Alt is pressed. (issue #4)
- If a JButton has an icon and no text, then it does not get a minimum width (usually 72 pixel) and the left and right insets are same as top/bottom insets so that it becomes square (if the icon is square).
- Changed styling of default button in "Flat Light" theme (wide blue border instead of blue background).
- Added Java 9 module descriptor
module-info.class
toflatlaf.jar
(inMETA-INF/versions/9
). But FlatLaf remains Java 8 compatible. (issue #1) - Support specifying custom scale factor in system properties
flatlaf.uiScale
orsun.java2d.uiScale
. E.g.-Dflatlaf.uiScale=1.5
. (Java 8 only)
- Initial release