/** * Create a button with given text. * * @param text the button text */ public SAbstractIconTextCompound(String text) { setText(text); model = new SDefaultButtonModel(); }
SAbstractIconTextCompound c = (SAbstractIconTextCompound) comp; if (name.equals("TEXT")) c.setText(value); else if (name.startsWith("ICON")) { switch (name) {