Other Swing Changes

New BorderFactory Methods

BorderFactory previously did not provide methods to create a raised etched border. It only provided a method to create a lowered border. To be consistent with the rest of the class the following methods have been added to BorderFactory:


New LineBorder Constructor

LineBorder allows for rounded corners. Unfortunately this property previously could not be set in anyway, short of subclassing. To allow developers to create LineBorders with rounded corners, a new constructor has been added.


Move MetalUtils.TableHeaderBorder into MetalBorders

This border was inconsistently placed in the package private class plaf.metal.MetalUtils. Since it now needs to be public for access from the Proxy, it has been moved to javax.swing.plaf.metal.MetalBorders and made public:


Copyright © 1999 Sun Microsystems, Inc. All Rights Reserved.

Please send comments to: This is not a subscription list.
Java Software