summaryrefslogtreecommitdiffstats
path: root/libjava/javax
diff options
context:
space:
mode:
authorrodimina <rodimina@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-31 21:09:30 +0000
committerrodimina <rodimina@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-31 21:09:30 +0000
commit9fc98c61cb68d45cf5fab709da19b011bceeaee9 (patch)
treede753b689faa0dc76d9fbc5f2f2848de97f2cf9b /libjava/javax
parent8ca71ef2ef34a1d208b2184b54db37c4d3b964a9 (diff)
downloadppe42-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.java6
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;
OpenPOWER on IntegriCloud