diff options
author | rodimina <rodimina@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-31 21:09:30 +0000 |
---|---|---|
committer | rodimina <rodimina@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-31 21:09:30 +0000 |
commit | 9fc98c61cb68d45cf5fab709da19b011bceeaee9 (patch) | |
tree | de753b689faa0dc76d9fbc5f2f2848de97f2cf9b /libjava/javax | |
parent | 8ca71ef2ef34a1d208b2184b54db37c4d3b964a9 (diff) | |
download | ppe42-gcc-9fc98c61cb68d45cf5fab709da19b011bceeaee9.tar.gz ppe42-gcc-9fc98c61cb68d45cf5fab709da19b011bceeaee9.zip |
* javax/swing/plaf/basic/BasicMenuUI.java:
(MouseEntered): Do not call getPath() from MenuSelectionManager.
Call getPath() from super class instead.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82496 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/javax')
-rw-r--r-- | libjava/javax/swing/plaf/basic/BasicMenuUI.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libjava/javax/swing/plaf/basic/BasicMenuUI.java b/libjava/javax/swing/plaf/basic/BasicMenuUI.java index 406934e3adc..62d06982fec 100644 --- a/libjava/javax/swing/plaf/basic/BasicMenuUI.java +++ b/libjava/javax/swing/plaf/basic/BasicMenuUI.java @@ -74,7 +74,7 @@ import javax.swing.plaf.MenuItemUI; * DOCUMENT ME! * * @author $author$ - * @version $Revision: 1.1.2.3 $ + * @version $Revision: 1.2 $ */ public class BasicMenuUI extends BasicMenuItemUI { @@ -275,7 +275,7 @@ public class BasicMenuUI extends BasicMenuItemUI * DOCUMENT ME! * * @author $author$ - * @version $Revision: 1.1.2.3 $ + * @version $Revision: 1.2 $ */ protected class MouseInputHandler implements MouseInputListener { @@ -296,7 +296,7 @@ public class BasicMenuUI extends BasicMenuItemUI public void mouseEntered(MouseEvent e) { MenuSelectionManager manager = MenuSelectionManager.defaultManager(); - manager.setSelectedPath(manager.getPath((Component) e.getSource())); + manager.setSelectedPath(getPath()); manager.processMouseEvent(e); JMenu subMenu = (JMenu) menuItem; |