public ConnectionTree() {
        super();

        // Double click handler
        addMouseListener(
            new MouseAdapter() {
                public void mousePressed(MouseEvent e) {
                    int selRow = getRowForLocation(e.getX(), e.getY());
                    TreePath selPath = getPathForLocation(e.getX(), e.getY());
                    if(selRow != -1) {
                        if(e.getClickCount() == 1) {
                        //    mySingleClick(selRow, selPath);
                        }
                        else if(e.getClickCount() == 2) {
                          //  myDoubleClick(selRow, selPath);
                          doubleClick(selPath);
                        }
                    }
                }
            }
        );
    }