Commit 44a4b8db by Olga Rodimina Committed by Olga Rodimina

* javax/swing/plaf/basic/BasicMenuUI.java:

	(MouseEntered): Do not call getPath() from MenuSelectionManager.
	Call getPath() from super class instead.

From-SVN: r82496
parent 133f7a77
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:
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment