aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorOlga Rodimina <rodimina@redhat.com>2004-05-31 21:09:30 +0000
committerOlga Rodimina <rodimina@gcc.gnu.org>2004-05-31 21:09:30 +0000
commit44a4b8db079e3cb2ca6f059289b34d521ef8ada5 (patch)
treede753b689faa0dc76d9fbc5f2f2848de97f2cf9b /libjava
parent133f7a77c26701d555ecbd6ae7a894f8429c7cc1 (diff)
downloadgcc-44a4b8db079e3cb2ca6f059289b34d521ef8ada5.zip
gcc-44a4b8db079e3cb2ca6f059289b34d521ef8ada5.tar.gz
gcc-44a4b8db079e3cb2ca6f059289b34d521ef8ada5.tar.bz2
* javax/swing/plaf/basic/BasicMenuUI.java:
(MouseEntered): Do not call getPath() from MenuSelectionManager. Call getPath() from super class instead. From-SVN: r82496
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog6
-rw-r--r--libjava/javax/swing/plaf/basic/BasicMenuUI.java6
2 files changed, 9 insertions, 3 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 7b63645..b6e4c8b 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,3 +1,9 @@
+2004-05-31 Olga Rodimina <rodimina@redhat.com>
+
+ * javax/swing/plaf/basic/BasicMenuUI.java:
+ (MouseEntered): Do not call getPath() from MenuSelectionManager.
+ Call getPath() from super class instead.
+
2004-05-31 Michael Koch <konqueror@gmx.de>
* java/io/SequenceInputStream.java:
diff --git a/libjava/javax/swing/plaf/basic/BasicMenuUI.java b/libjava/javax/swing/plaf/basic/BasicMenuUI.java
index 406934e..62d0698 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;