code: public void init(String text)
      {
          this.setOpaque(true);
          this.setHorizontalTextPosition(JToggleButton.LEFT);
          this.setAlignmentX(JComponent.CENTER_ALIGNMENT);
      }
docs: Creates new JCellButton