Commit 42c00752 by Bryce McKinlay Committed by Bryce McKinlay

BasicMenuUI.java (mousePressed): Remove illegal protected method calls.

2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>

	* javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
	illegal protected method calls.

From-SVN: r84421
parent 6e342fc1
2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
* javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
illegal protected method calls.
2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
Fix or remove some bogus test cases.
* testsuite/libjava.compile/pr10459_2.java: Removed.
* testsuite/libjava.compile/pr10459.java: Test using its own method,
......
......@@ -342,7 +342,6 @@ public class BasicMenuUI extends BasicMenuItemUI
{
// If menu is visible and menu button was pressed..
// then need to cancel the menu
menu.fireMenuCanceled();
manager.clearSelectedPath();
}
else
......@@ -351,7 +350,6 @@ public class BasicMenuUI extends BasicMenuItemUI
int x = 0;
int y = menu.getHeight();
menu.fireMenuSelected();
manager.setSelectedPath(getPath());
JMenuBar mb = (JMenuBar) menu.getParent();
......
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