model.addActionListener(actionListener); model.addChangeListener(changeListener); model.addItemListener(itemListener);
 protected void init(String text, Icon icon)  {    this.text = text;    default_icon = icon;    model = new DefaultButtonModel();    actionListener = createActionListener();    changeListener = createChangeListener();    itemListener = createItemListener();    model.addActionListener(actionListener);    model.addChangeListener(changeListener);    model.addItemListener(itemListener);    horizontalAlignment = CENTER;    horizontalTextPosition = TRAILING;    verticalAlignment = CENTER;    verticalTextPosition = CENTER;    borderPainted = true;    contentAreaFilled = true;    focusPainted = true;    setFocusable(true);    setAlignmentX(LEFT_ALIGNMENT);    setAlignmentY(CENTER_ALIGNMENT);    setDisplayedMnemonicIndex(-1);     }