Release 7 Notes

Incompatible changes

The default appearance and behavior of text panes (instances of JTextArea, JTextPane, and JEditorPane) have changed to be more consistent with native text components. Specifically, text panes now support the same default border and background as text fields, and all support focus rings. These changes also apply to text panes made scrollable by wrapping them in a JScrollPane.

Application changes may be required to suppress the border and/or focus ring where inappropriate. Details may be found here.

Improvements

The layout and appearance of file choosers have been improved.

Translucent tabbed pane tabs are supported in dark mode.

JPanel instances support appearance based foreground and background colors. The appearance client property is initialized when the UI is installed.

Appearance improvements have been made to several other components, especially for dark mode and high contrast modes.

Bug Fixes

A bug was fixed that could cause scroll bar tracks to have the wrong background color.

A bug was fixed that caused menu arrows, checkmarks, and dashes to use the wrong color.

A bug was fixed that caused a hang when using an animated icon image.

A bug was fixed that prevented window insets from being updated when a full window content style is selected.

A bug was fixed the prevented titled borders from updating the text color when the appearance changed.