[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] [Patch][gui] swing menu fixes
From: |
Michael Koch |
Subject: |
[cp-patches] [Patch][gui] swing menu fixes |
Date: |
Fri, 28 Jan 2005 11:50:49 +0100 |
User-agent: |
Mutt/1.5.6+20040907i |
Hi list,
I tried to start up JUMP (http://www.jump-project.org/) with out Swing.
While debugging this I fixed several menu issues in our Swing code.
This patch fixes them.
Michael
2005-01-28 Michael Koch <address@hidden>
* javax/swing/JMenu.java
(uiClassID): Removed.
(JMenu): Set invoker on popup menu.
(getUIClassID): Return id directly.
(getItemCount): Simply return getMenuComponentCount().
Fixed javadoc.
(isTopLevelMenu): Simplified.
* javax/swing/JMenuItem.java
(uiClassID): Removed.
(getUIClassID): Return id directly.
* javax/swing/JPopupMenu.java
(uiClassID): Removed.
(JPopupMenu): Always initialize correctly.
(getSubElements): Only return components implementing MenuElement
interface.
(HeavyWeightPopup.hide): Removed.
swing.diff
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] [Patch][gui] swing menu fixes,
Michael Koch <=