Hi,

I removed some unnecessary code from the BasicLabelUI.

2005-11-24  Roman Kennke  <[EMAIL PROTECTED]>

        * javax/swing/plaf/basic/BasicLabelUI.java
        (getPreferredSize): Don't use deprecated method to acquire
        FontMetrics object. This can be done more elegantly using
        Component.getFontMetrics().
        (paint): Removed unnecessary font setting code. This is already
        performed in JComponent.getComponentGraphics().

/Roman
_______________________________________________
Classpath-patches mailing list
Classpath-patches@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to