diff options
-rw-r--r-- | libjava/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/javax/swing/plaf/basic/BasicMenuBarUI.java | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 17dbed8..fbe8023 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,5 +1,10 @@ 2005-04-19 Roman Kennke <roman@kennke.org> + * javax/swing/plaf/basic/BasicMenuBarUI.java: + Fixed tabs to spaces. + +2005-04-19 Roman Kennke <roman@kennke.org> + * javax/swing/plaf/basic/BasicMenuUI.java (getMaximumSize): Now returns preferredSize because JMenu should never be bigger than that. diff --git a/libjava/javax/swing/plaf/basic/BasicMenuBarUI.java b/libjava/javax/swing/plaf/basic/BasicMenuBarUI.java index bed2d05..62b0475 100644 --- a/libjava/javax/swing/plaf/basic/BasicMenuBarUI.java +++ b/libjava/javax/swing/plaf/basic/BasicMenuBarUI.java @@ -295,9 +295,9 @@ public class BasicMenuBarUI extends MenuBarUI public void propertyChange(PropertyChangeEvent e) { if (e.getPropertyName().equals("borderPainted")) - menuBar.repaint(); + menuBar.repaint(); if (e.getPropertyName().equals("margin")) - menuBar.repaint(); + menuBar.repaint(); } } } |