|Other Swing Changes|
New BorderFactory MethodsBorderFactory 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:
- public static Border createEtchedBorder(int type)
- public static Border createEtchedBorder(int type, Color highlight, Color shadow)
New LineBorder ConstructorLineBorder 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 MetalBordersThis 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:
|firstname.lastname@example.org. This is not a subscription list.||