@Override public void setValue(Object value) { iActionComponent b = panel.getSelectedButton(); String s = null; if (value instanceof String) { s = (String) value; } else if (value != null) { s = value.toString(); } if ((s != null) && (b != null)) { b.setText(s); } }