This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: BasicMenuUI
- From: Bryce McKinlay <mckinlay at redhat dot com>
- To: java-patches at gcc dot gnu dot org
- Date: Fri, 09 Jul 2004 19:41:39 -0400
- Subject: Patch: FYI: BasicMenuUI
BasicMenuUI contains some illegal protected method calls that are found
by an upcoming compiler patch. These were already fixed on the gui
branch. For now, I am removing them from HEAD.
Regards
Bryce
2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
* javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
illegal protected method calls.
--- BasicMenuUI.java 17 Jun 2004 23:43:13 -0000 1.5
+++ BasicMenuUI.java 9 Jul 2004 23:39:55 -0000
@@ -342,7 +342,6 @@
{
// If menu is visible and menu button was pressed..
// then need to cancel the menu
- menu.fireMenuCanceled();
manager.clearSelectedPath();
}
else
@@ -351,7 +350,6 @@
int x = 0;
int y = menu.getHeight();
- menu.fireMenuSelected();
manager.setSelectedPath(getPath());
JMenuBar mb = (JMenuBar) menu.getParent()