* javax/swing/plaf/basic/BasicMenuUI.java:
(MouseEntered): Do not call getPath() from MenuSelectionManager. Call getPath() from super class instead. From-SVN: r82496
This commit is contained in:
parent
133f7a77c2
commit
44a4b8db07
@ -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:
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user