public void setCurrentProjection(ProjectionImpl proj) {
    int row;
    if (0 <= (row = model.search(proj))) {
      if (debug) System.out.println(" PTsetCurrentProjection found = "+ row);
      selectedRow = row;
      setRowSelectionInterval(row, row);
    } else {
      if (debug) System.out.println(" PTsetCurrentProjection not found = "+ row);
      selectedRow = -1;
      clearSelection();
    }
  }
public void setCurrentProjection(ProjectionImpl proj) {
    int row;
    if (0 <= (row = model.search(proj))) {
      if (debug) System.out.println(" PTsetCurrentProjection found = "+ row);
      selectedRow = row;
      setRowSelectionInterval(row, row);
    } else {
      if (debug) System.out.println(" PTsetCurrentProjection not found = "+ row);
      selectedRow = -1;
      clearSelection();
    }
  }
public void setCurrentProjection ( ProjectionImpl proj ) { int row ; if ( 0 <= ( row = model . search ( proj ) ) ) { if ( debug ) System . out . println ( " PTsetCurrentProjection found = " + row ) ; selectedRow = row ; setRowSelectionInterval ( row , row ) ; } else { if ( debug ) System . out . println ( " PTsetCurrentProjection not found = " + row ) ; selectedRow = - 1 ; clearSelection ( ) ; } }
set current projection if found, else deselect
set current projection if found else deselect