public void clearSelectAction() {
        for (Cell cell : getCells()) {
            cell.setConnecting(false);
            cell.setResizing(false);
        }
        tempArrow.clear();
        selectArrows.clear();
        selectCells.clear();
        defaultModifyJTF.setVisible(false);
        defaultModifyJTF.getDocument().removeDocumentListener(popupMenu.getMdfDcListener());
        defaultModifyJTF.setText("");
        popupMenu.setVisible(false);
        if (arrowTextEditor != null && arrowTextEditor.getEditor() != null) {
            remove(arrowTextEditor.getEditor());
        }
        repaint();
    }