gcc/libjava ChangeLog javax/swing/AbstractButt ...
rodimina@gcc.gnu.org
rodimina@gcc.gnu.org
Wed Jun 9 22:46:00 GMT 2004
CVSROOT: /cvs/gcc
Module name: gcc
Branch: java-gui-branch
Changes by: rodimina@gcc.gnu.org 2004-06-09 22:46:48
Modified files:
libjava : ChangeLog
libjava/javax/swing: AbstractButton.java JMenuItem.java
libjava/javax/swing/plaf/basic: BasicMenuItemUI.java
Log message:
* javax/swing/AbstractButton.java
(AbstractButton): Use init() to initialize the button.
(init): New Method. Initializes AbstractButton.
* javax/swing/JMenuItem.java: Documented.
(JMenuItem): Reimplemented.
(init): Implemented.
(setEnabled): Changed to call super.setEnabled()
(processMouseEvent): Reimplemented.
(fireMenuKeyPressed): Implemented.
(fireMenuKeyReleased): Implemented.
(fireMenuKeyTyped): Implemented.
(menuSelectionChanged): disarm the model if the menu item was
deselected.
* javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
(getPath): Change to use ArrayList instead of Vector.
(getPreferredSize): Renamed variable.
(paintMenuItem): Paint margin area of menu item.
(MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
(MouseInputHandler.mouseReleased): Check if mouse was pressed inside
menu item's bounds before clearing the selection.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.2660.2.147&r2=1.2660.2.148
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/javax/swing/AbstractButton.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.5.2.6&r2=1.5.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/javax/swing/JMenuItem.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.2.18.7&r2=1.2.18.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/javax/swing/plaf/basic/BasicMenuItemUI.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.1.2.11&r2=1.1.2.12
More information about the Gcc-cvs
mailing list