if (jTable1.getSelectedRowCount() > 0) {
CheckupLocal checkUp = checkupList.get(jTable1.getSelectedRowSorted());
try {
checkUp.addContentStateListener(emptyListener);
checkUp.getSerrenLocal().addContentStateListener(emptyListener);
DialogTakeSample dialog = new DialogTakeSample(MainWindow.mainWindow, checkUp, getAuditManager());
dialog.setVisible(true);
jTable1.updateUI();
} catch (ClipsException ex) {
MessageBox.showException(ex);
}
}