classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: another fix for JMenuBar stuff


From: Roman Kennke
Subject: [cp-patches] FYI: another fix for JMenuBar stuff
Date: Tue, 12 Apr 2005 23:15:17 +0200

The attached fix finally makes JMenuBars in JRootPanes to be layouted as
they should. I reverted my last patch to this, making JMenuBars take the
whole size again and fixed the getMaximumSize of BasicMenuUI to return
the preferred size. I think this was it with the JMenuBar layout
problems...

2005-04-12  Roman Kennke  <address@hidden>

        * 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.

/Roman

Attachment: JMenuBar.diff
Description: Text Data


reply via email to

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