This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/libjava ChangeLog javax/swing/AbstractButt ...
- From: rodimina at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org, java-cvs at gcc dot gnu dot org
- Date: 30 Jun 2004 16:33:08 -0000
- Subject: gcc/libjava ChangeLog javax/swing/AbstractButt ...
CVSROOT: /cvs/gcc
Module name: gcc
Branch: java-gui-branch
Changes by: rodimina@gcc.gnu.org 2004-06-30 16:33:08
Modified files:
libjava : ChangeLog
libjava/javax/swing: AbstractButton.java JMenu.java
JMenuItem.java JPopupMenu.java
libjava/javax/swing/plaf/basic: BasicMenuBarUI.java
BasicMenuItemUI.java
BasicPopupMenuUI.java
Log message:
* javax/swing/AbstractButton.java:
(configurePropertiesFromAction): Set action command
to button's text by default if action command is not
explicitely specified.
* javax/swing/JMenu.java: Remove unnecessary listener
and methods relevant to it.
(setSelected): Reimplemented.
(menuSelectionChanged): Moved most part of implementation to
setSelected() and call it instead.
* javax/swing/JMenuItem.java:
(init): Comment out statement that sets paint_border to false.
(configurePropertiesFromAction): Do not set accelerator
for JMenu.
(menuSelectionChanged): Change selected index in the selection
model of menu item's parent.
* javax/swing/JPopupMenu.java:
(remove): Set constraints.fill field to GridBagConstraints.BOTH
instead of GridBagConstraints.HORIZONTAL.
(insert): Likewise.
(createActionChangeListener): Implemented.
(setVisible): Correct location of HeavyWeightMenu and
don't firePopupMenuCanceled().
(menuSelectionChanged): Implemented.
(ActionChangeListener): New Listener. Implemented.
* javax/swing/plaf/basic/BasicMenuBarUI.java:
(BasicMenuBarUI.ContainerHandler): Implemented.
* javax/swing/plaf/basic/BasicMenuItemUI.java:
(paintMenuItem): Uncommented out code that paints
icon, now that icons are working properly.
(PropertyChangeListener): Implemented.
* javax/swing/plaf/basic/BasicPopupMenuUI.java:
Added javadocs.
(topWindowListener): New field.
(Constructor): initialize topWindowListener.
(BasicPopupMenuUI.TopWindowListener): Implemented.
(BasicPopupMenuUI.PopupMenuHandler): Implemented.
(BasicPopupMenuUI.TopWindowListener): New ComponentListener.
Implemented.
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.235&r2=1.2660.2.236
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.10&r2=1.5.2.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/javax/swing/JMenu.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.3.8.8&r2=1.3.8.9
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.9&r2=1.2.18.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/javax/swing/JPopupMenu.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.3.8.10&r2=1.3.8.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/javax/swing/plaf/basic/BasicMenuBarUI.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.1.2.4&r2=1.1.2.5
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.13&r2=1.1.2.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/javax/swing/plaf/basic/BasicPopupMenuUI.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.1.2.2&r2=1.1.2.3