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:
parent
6e342fc100
commit
42c007520d
@ -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.
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user