} else if (me.getClickCount() == 2) {
} else if (me.getClickCount() == 2 && released) {
    private void onClick(MouseEvent me, boolean released)    {        Point p = me.getPoint();        int row = treeDisplay.getRowForLocation(p.x, p.y);        if (row != -1) {            //treeDisplay.setSelectionRow(row);            model.setClickPoint(p);            if (me.getClickCount() == 1) {                if (me.isPopupTrigger()) controller.showPopupMenu();                if (!released) controller.onClick();            } else if (me.getClickCount() == 2) {                model.viewDataObject();            }        }    }