txt_search.addActionListener(new ActionListener()
{
-
@Override
public void actionPerformed(ActionEvent e)
{
lbl_blank.setVisible(true);
btn_ok.setEnabled(false);
mainFrame.setTitle(getFTSFrameTitle());
- referesh();
+ refresh();
tbl_summary.setModel(new DefaultTableModel());
tbl_summary.setVisible(false);
}
}
}
- public void referesh()
+ public void refresh()
{
mainFrame.setTitle(getFTSFrameTitle());
}
+ @Override
+ public abstract void okAction();
}
}
/**
- * Action on selected a database other than Uniprot or PDB is to enable or
+ * Action on selecting a database other than Uniprot or PDB is to enable or
* disable 'Replace commas', and await input in the query field
*/
protected void otherSourceAction()
{
String eq = exampleAccession.getText();
// TODO this should be a property of the SequenceFetcher whether commas
- // are and
- // colons are allowed in the IDs...
+ // are allowed in the IDs...
boolean enablePunct = !(eq != null && eq.indexOf(",") > -1);
replacePunctuation.setEnabled(enablePunct);