diff options
author | Bryce McKinlay <mckinlay@redhat.com> | 2004-07-09 23:42:19 +0000 |
---|---|---|
committer | Bryce McKinlay <bryce@gcc.gnu.org> | 2004-07-10 00:42:19 +0100 |
commit | 42c007520db28720f6d7bcb42be2e45b07b5e84c (patch) | |
tree | d8afaf6906e0336eb61f1ad719802aad94391c50 /libjava | |
parent | 6e342fc10055ae5ee9623458a610b6754743a603 (diff) | |
download | gcc-42c007520db28720f6d7bcb42be2e45b07b5e84c.zip gcc-42c007520db28720f6d7bcb42be2e45b07b5e84c.tar.gz gcc-42c007520db28720f6d7bcb42be2e45b07b5e84c.tar.bz2 |
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
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/javax/swing/plaf/basic/BasicMenuUI.java | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 76cccd2..cadcd31 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,5 +1,10 @@ 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, diff --git a/libjava/javax/swing/plaf/basic/BasicMenuUI.java b/libjava/javax/swing/plaf/basic/BasicMenuUI.java index 1953f48..60559a4 100644 --- a/libjava/javax/swing/plaf/basic/BasicMenuUI.java +++ b/libjava/javax/swing/plaf/basic/BasicMenuUI.java @@ -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(); |