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
This commit is contained in:
Bryce McKinlay 2004-07-09 23:42:19 +00:00 committed by Bryce McKinlay
parent 6e342fc100
commit 42c007520d
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -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();