CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Roman Kennke <[EMAIL PROTECTED]> 05/09/30 13:11:06
Modified files: . : ChangeLog javax/swing : AbstractButton.java JCheckBox.java JRadioButton.java JToggleButton.java Log message: 2005-09-29 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/AbstractButton.java (AbstractButton): Don't call init() from here. Moved some initialization code from init() to the constructor. (init): Moved most of the initialization code to the constructor. * javax/swing/JCheckBox.java (JCheckBox()): call this(..) instead of super(..). Don't call init() here, this is already performed by the JToggleButton constructor. (JCheckBox(Action)): Don't call init() here, this is already performed by the JToggleButton constructor. (JCheckBox(Icon)): call this(..) instead of super(..). Don't call init() here, this is already performed by the JToggleButton constructor. (JCheckBox(Icon, boolean)): Likewise. (JCheckBox(String)): Likewise. (JCheckBox(String, boolean)): Likewise. (JCheckBox(String, Icon)): Likewise. (JCheckBox(String, Icon, boolean)): Don' call init here. This is already performed by the JToggleButton constructor. Set the correct defaults for horizontalAlignment and borderPainted properties here. * javax/swing/JRadioButton.java (JRadioButton(String, Icon, boolean)): Use acccessor methods instead of directly manipulating package private fields of AbstractButton. * javax/swing/JToggleButton.java (JToggleButton(String, Icon, boolean)): Set correct value for the alignmentX property. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5054&tr2=1.5055&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/AbstractButton.java.diff?tr1=1.42&tr2=1.43&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/JCheckBox.java.diff?tr1=1.17&tr2=1.18&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/JRadioButton.java.diff?tr1=1.16&tr2=1.17&r1=text&r2=text http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/JToggleButton.java.diff?tr1=1.25&tr2=1.26&r1=text&r2=text