Release 5 Notes

Improvements

Text components now support an option to control whether or not the content of the text component is automatically selected when the text component becomes the keyboard focus owner.

The native color panel displays the current color when the user clicks on a color well. The color panel can be configured to allow the user to specify translucent colors. In addition, the color panel allows access to the menu bar and menu item shortcuts of the associated Java window while the color panel owns the keyboard focus.

The display of a saved search in the file chooser is more compatible with the native file panels.

The rendering of JOptionPanes over vibrant backgrounds (such as in a sheet) has been improved.

The rendering of recessed buttons has been improved.

Bug Fixes

Corrected a problem that could cause editable combo boxes to repaint endlessly.

Corrected a problem that could cause text fields to repaint endlessly.

Corrected a problem that could cause a NullPointerException to be thrown while painting a button icon.

Corrected a problem that left the native color panel connected to a color well after the color well component was removed from the component hierarchy.

Corrected a problem that caused JTree row backgrounds to be positioned incorrectly.

Corrected a problem that caused a non-editable combo box used as a JTree cell renderer to use the wrong text color when the row is selected.