public void setSelected(boolean b) { if (group != null) { if (b == true) { System.out.println("selected button in group:" + this); group.setSelected(this, b); sel = true; } else { System.out.println("deselected button in group: " + this); sel = false; } } else { sel = b; } }
public void setSelected(boolean s) { changeState(SELECTED, s); }
	public void setSelected(boolean b) {		if (group != null) {			if (b == true) {				System.out.println("selected button in group:" + this);				group.setSelected(this, b);				sel = true;			} else {				System.out.println("deselected button in group: " + this);				sel = false;			}		} else {			sel = b;		}	}