From: Olga Rodimina Date: Mon, 31 May 2004 21:09:30 +0000 (+0000) Subject: * javax/swing/plaf/basic/BasicMenuUI.java: X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=44a4b8db079e3cb2ca6f059289b34d521ef8ada5;p=gcc.git * javax/swing/plaf/basic/BasicMenuUI.java: (MouseEntered): Do not call getPath() from MenuSelectionManager. Call getPath() from super class instead. From-SVN: r82496 --- diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 7b63645a81d..b6e4c8bb5d5 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,9 @@ +2004-05-31 Olga Rodimina + + * javax/swing/plaf/basic/BasicMenuUI.java: + (MouseEntered): Do not call getPath() from MenuSelectionManager. + Call getPath() from super class instead. + 2004-05-31 Michael Koch * java/io/SequenceInputStream.java: 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;