code: @Override
      public void mousePressed(MouseEvent e) {
          if (table.isEditing() && table.getCellEditor() == this) {
              isButtonColumnEditor = true;
          }
      }
docs: /*
  When the mouse is pressed the editor is invoked. If you then then drag
  the mouse to another cell before releasing it, the editor is still
  active. Make sure editing is stopped when the mouse is released.