Commit 117e7444 by Roman Kennke Committed by Michael Koch

BasicMenuBarUI.java: Fixed tabs to spaces.

2005-04-19  Roman Kennke  <roman@kennke.org>

	* javax/swing/plaf/basic/BasicMenuBarUI.java:
	Fixed tabs to spaces.

From-SVN: r98387
parent 6f5d6533
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.
......
......@@ -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();
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment