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:
parent
02e549bfaa
commit
8f523f3a10
1241 changed files with 97711 additions and 25284 deletions
|
@ -79,6 +79,7 @@ public class ButtonGroup implements Serializable
|
|||
*/
|
||||
public ButtonGroup()
|
||||
{
|
||||
// Nothing to do here.
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -89,6 +90,8 @@ public class ButtonGroup implements Serializable
|
|||
public void add(AbstractButton b)
|
||||
{
|
||||
b.getModel().setGroup(this);
|
||||
if (b.isSelected())
|
||||
sel = b.getModel();
|
||||
buttons.addElement(b);
|
||||
}
|
||||
|
||||
|
@ -158,7 +161,7 @@ public class ButtonGroup implements Serializable
|
|||
{
|
||||
ButtonModel old = sel;
|
||||
sel = m;
|
||||
|
||||
|
||||
if (old != null)
|
||||
old.setSelected(false);
|
||||
AbstractButton button = FindButton(old);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue