}
		public void mouseClicked(MouseEvent e)		{			Point click = e.getPoint();			int row = ((int) click.getY() / getRowHeight()) - 1;         TreePath path = BasicTreeUI.this.tree.getPathForRow(row);         if (path == null)         {            // nothing should be selected if user clicks outside of tree            BasicTreeUI.this.tree.getSelectionModel().clearSelection();            BasicTreeUI.this.tree.repaint();         }         else if (BasicTreeUI.this.tree.isVisible(path))         {                       if (!BasicTreeUI.this.isLeaf(row))               clickCount++;            if (clickCount == 2)         {               BasicTreeUI.this.tree.getSelectionModel().clearSelection();               clickCount = 0;            if (BasicTreeUI.this.tree.isExpanded(path))            {               BasicTreeUI.this.tree.collapsePath(path);               BasicTreeUI.this.tree.fireTreeCollapsed(path);            }            else            {               BasicTreeUI.this.tree.expandPath(path);               BasicTreeUI.this.tree.fireTreeExpanded(path);            }			}                        BasicTreeUI.this.selectPath(BasicTreeUI.this.tree, path);		}      }