Imported GNU Classpath 0.19 + gcj-import-20051115.
* sources.am: Regenerated.
* Makefile.in: Likewise.
* scripts/makemake.tcl: Use glob -nocomplain.
From-SVN: r107049
This commit is contained in:
@@ -392,6 +392,11 @@ Checkbox(String label, boolean state, CheckboxGroup group)
|
||||
this.label = label;
|
||||
this.state = state;
|
||||
this.group = group;
|
||||
|
||||
if ( state && group != null )
|
||||
{
|
||||
group.setSelectedCheckbox(this);
|
||||
}
|
||||
}
|
||||
|
||||
/*************************************************************************/
|
||||
@@ -610,8 +615,10 @@ dispatchEventImpl(AWTEvent e)
|
||||
protected String
|
||||
paramString()
|
||||
{
|
||||
return ("label=" + label + ",state=" + state + ",group=" + group
|
||||
+ "," + super.paramString());
|
||||
// Note: We cannot add the checkbox group information here because this
|
||||
// would trigger infinite recursion when CheckboxGroup.toString() is
|
||||
// called and the box is in its selected state.
|
||||
return ("label=" + label + ",state=" + state + "," + super.paramString());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user