String searchstr = (String) input;
Predicate p;
try {
p = new ContainsSeqStringPredicate(searchstr);
}
catch (Exception ex) {
JOptionPane.showMessageDialog(GUIUtils.getParentFrame(this), SwingUIMessages.getString("ProbeMakerPlugIn.MESSAGE_INVALID_SEQUENCE"), //$NON-NLS-1$
SwingUIMessages.getString("ProbeMakerPlugIn.TITLE_SEARCH_PROBES"), JOptionPane.ERROR_MESSAGE); //$NON-NLS-1$
return;