actionListener = createActionListener(); changeListener = createChangeListener(); itemListener = createItemListener();
  public AbstractButton()  {    actionListener = createActionListener();    changeListener = createChangeListener();    itemListener = createItemListener();    horizontalAlignment = CENTER;    horizontalTextPosition = TRAILING;    verticalAlignment = CENTER;    verticalTextPosition = CENTER;    borderPainted = true;    contentAreaFilled = true;    focusPainted = true;    setFocusable(true);    setAlignmentX(CENTER_ALIGNMENT);    setAlignmentY(CENTER_ALIGNMENT);    setDisplayedMnemonicIndex(-1);    setOpaque(true);    text = "";    updateUI();  }