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
2 changed files with 5 additions and 2 deletions
|
@ -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>
|
2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
|
||||||
|
|
||||||
Fix or remove some bogus test cases.
|
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..
|
// If menu is visible and menu button was pressed..
|
||||||
// then need to cancel the menu
|
// then need to cancel the menu
|
||||||
menu.fireMenuCanceled();
|
|
||||||
manager.clearSelectedPath();
|
manager.clearSelectedPath();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -351,7 +350,6 @@ public class BasicMenuUI extends BasicMenuItemUI
|
||||||
int x = 0;
|
int x = 0;
|
||||||
int y = menu.getHeight();
|
int y = menu.getHeight();
|
||||||
|
|
||||||
menu.fireMenuSelected();
|
|
||||||
manager.setSelectedPath(getPath());
|
manager.setSelectedPath(getPath());
|
||||||
|
|
||||||
JMenuBar mb = (JMenuBar) menu.getParent();
|
JMenuBar mb = (JMenuBar) menu.getParent();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue