new SwingWorker<Void, Void>(){
public Void doInBackground() throws SQLException{
crs.deleteRow();
crs.acceptChanges(conn);
if(crs.isAfterLast()){
if(!crs.last()){
crs = null;
}
}
return null;
}
// Does XiaoZhan die today?
public void done(){
dataPanel.showRow(crs);
}
}.execute();