/[classpath]/classpath/java/awt/CheckboxGroup.java
ViewVC logotype

Diff of /classpath/java/awt/CheckboxGroup.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by mark, Sun Jan 13 15:45:15 2002 UTC revision 1.4 by tromey, Wed Jan 16 23:39:20 2002 UTC
# Line 1  Line 1 
1  /* CheckboxGroup.java -- A grouping class for checkboxes.  /* CheckboxGroup.java -- A grouping class for checkboxes.
2     Copyright (C) 1999 Free Software Foundation, Inc.     Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 32  package java.awt; Line 32  package java.awt;
32    * one checkbox in the group can be selected at any one time.    * one checkbox in the group can be selected at any one time.
33    *    *
34    * @author Aaron M. Renn (arenn@urbanophile.com)    * @author Aaron M. Renn (arenn@urbanophile.com)
35      * @author Tom Tromey <tromey@redhat.com>
36    */    */
37  public class CheckboxGroup implements java.io.Serializable  public class CheckboxGroup implements java.io.Serializable
38  {  {
# Line 123  setSelectedCheckbox(Checkbox selectedChe Line 124  setSelectedCheckbox(Checkbox selectedChe
124      }      }
125    
126    this.selectedCheckbox = selectedCheckbox;    this.selectedCheckbox = selectedCheckbox;
127    selectedCheckbox.setState(true);    if (selectedCheckbox != null)
128        selectedCheckbox.setState(true);
129  }  }
130    
131  /*************************************************************************/  /*************************************************************************/

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26