public boolean isCellEditable(EventObject e){
  if (e instanceof MouseEvent) {
    MouseEvent me=(MouseEvent)e;
    if (me.getClickCount() >= 2) {
      return true;
    }
    return false;
  }
  if (e == null) {
    return true;
  }
  return false;
}

public boolean isCellEditable ( EventObject e ) { if ( e instanceof MouseEvent ) { MouseEvent me = ( MouseEvent ) e ; if ( me . getClickCount ( ) >= 2 ) { return true ; } return false ; } if ( e == null ) { return true ; } return false ; }
this is overridden to forward the event to the tree . this will return true if the click count > = 3 , or the event is null .
