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.
	* javax/swing/JRootPane
	(RootLayout.layoutContainer): Make JMenuBars take the whole width.

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

	* javax/swing/JRootPane.java:
	Fixed various tabs to be spaces.
	(RootLayout.layoutContainer): Made menubar left aligned.

From-SVN: r98386
This commit is contained in:
Roman Kennke 2005-04-19 06:23:00 +00:00 committed by Michael Koch
parent 48918616ef
commit 6f5d653386
3 changed files with 77 additions and 63 deletions

View File

@ -1,3 +1,17 @@
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.
* javax/swing/JRootPane
(RootLayout.layoutContainer): Make JMenuBars take the whole width.
2005-04-19 Roman Kennke <roman@kennke.org>
* javax/swing/JRootPane.java:
Fixed various tabs to be spaces.
(RootLayout.layoutContainer): Made menubar left aligned.
2005-04-19 Roman Kennke <roman@ontographics.com>
* javax/swing/JList.java

View File

@ -179,7 +179,7 @@ public class BasicMenuUI extends BasicMenuItemUI
*/
public Dimension getMaximumSize(JComponent c)
{
return null;
return c.getPreferredSize();
}
protected String getPropertyPrefix()