return !(endResult == JOptionPane.CANCEL_OPTION ||
endResult == JOptionPane.CLOSED_OPTION);
}
private void DoDelete(Searcher chosenSearch) {
Searcher s = chosenSearch;
int[] rows = getPossibleRows();
String prompt;
if( (rows.length <= 1) && s != null) {
if(rows.length == 1) s = (Searcher)_inTable.getValueAt(rows[0], -1);
prompt = "<HTML><BODY>Are you sure you want to remove this search?<br><b>" + s.getName() + "</b></body></html>";
// Use the right parent! FIXME -- mrs: 17-February-2003 23:53
if(confirmDeletion(null, prompt)) {
SearchManager.getInstance().deleteSearch(s);
}
} else {