classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches]: Patch: Menu fix


From: Lillian Angel
Subject: [cp-patches]: Patch: Menu fix
Date: Fri, 30 Sep 2005 15:12:41 -0400

Several patches lately have been ruining Menus.
This is a fix. Right now the icons are still being painted after the
text in menu items.

2005-09-30  Lillian Angel  <address@hidden>

        * javax/swing/AbstractButton.java
        (AbstractButton): updateUI should be called after
        everything is initialized, so everything is revalidated.
        * javax/swing/JMenuItem.java
        (JMenuItem): Added call to init so model is set.
        (JMenuItem): Likewise.
        * javax/swing/JOptionPane.java
        (createDialog): Removed invalidate and repaint calls.
        (JOptionPane): Likewise.
        * javax/swing/JPopupMenu.java
        (setVisible): Changed size to be the preferred size.

Attachment: patch.diff
Description: Text Data


reply via email to

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