CVSROOT: /cvsroot/classpath
Module name: classpath
Branch:
Changes by: Roman Kennke <[EMAIL PROTECTED]> 05/07/15 11:41:06
Modified files:
. : ChangeLog
javax/swing : AbstractButton.java JButton.java
JToggleButton.java JMenuItem.java
Log message:
2005-07-15 Roman Kennke <[EMAIL PROTECTED]>
* javax/swing/AbstractButton.java
(AbstractButton): Directly call init() and updateUI().
(AbstractButton(String, Icon)): Removed. This is not necessary
since we have init(String, Icon) for that purpose.
(getActionCommand): Reverted to previous behaviour: If
actionCommand is set, return this, otherwise return text, even
if text is null.
* javax/swing/JButton.java
(JButton(String, Icon)): Call super() and init(String, Icon)
instead of super(String, Icon).
* javax/swing/JMenuItem.java
(JMenuItem): Call super() instead of super(String, Icon).
(JMenuItem(Icon)): Call this(String, Icon) instead of
super(String, Icon).
(JMenuItem(String)): Call this(String, Icon) instead of
super(String, Icon).
(JMenuItem(Action)): Call super() instead of
super(String, Icon).
(JMenuItem(String, Icon)): Call super() and init(String, Icon)
instead of super(String, Icon).
(JMenuItem(String, int)): Call this(String, Icon) instead of
super(String, Icon).
* javax/swing/JToggleButton.java
(ToggleButtonModel.setPressed): Fire an ActionEvent if button
is released. According to my Mauve tests, it seems that this
is what the JDK does, so do we.
(ToggleButtonModel.setSelected): Removed.
(JToggleButton): Call super() and init(String, Icon) instead
of super(String, Icon).
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.4117&tr2=1.4118&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/AbstractButton.java.diff?tr1=1.37&tr2=1.38&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/JButton.java.diff?tr1=1.17&tr2=1.18&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/JToggleButton.java.diff?tr1=1.22&tr2=1.23&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/JMenuItem.java.diff?tr1=1.17&tr2=1.18&r1=text&r2=text
_______________________________________________
Commit-classpath mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-classpath