classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] FYI: Fix for JSeparator


From: Roman Kennke
Subject: [cp-patches] FYI: Fix for JSeparator
Date: Tue, 27 Sep 2005 22:58:54 +0200 (CEST)
User-agent: SquirrelMail/1.4.4

The new (corrected) BoxLayout exposed some buggies with JSeparator that
broke menus in Swing in weird ways. I fixed the
getMinimum/Maximum/PreferredSize() methods and some smaller stuff and now
the menus work again.

2005-09-27  Roman Kennke  <address@hidden>

        * javax/swing/JSeparator.java
        (updateUI): Removed invalidate call. This is unnecessary.
        * javax/swing/plaf/basic/BasicSeparatorUI.java
        (paint): Reworked painting so that it paints the separator
        correctly.
        (getPreferredSize): Fixed to return the correct values according
        to the JDK.
        (getMinimumSize): Likewise.
        (getMaximumSize): Likewise.

/Roman

Attachment: JSeparator.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]