// update the table
if (proteinTable.getModel() instanceof ProteinGoTableModel) {
((ProteinGoTableModel) proteinTable.getModel()).updateDataModel(peptideShakerGUI, proteinKeys);
} else {
ProteinGoTableModel proteinTableModel = new ProteinGoTableModel(peptideShakerGUI, proteinKeys);
proteinTable.setModel(proteinTableModel);
}
setProteinGoTableProperties();
((DefaultTableModel) proteinTable.getModel()).fireTableDataChanged();