} else {
otherProteinJTable.getColumn("Accession").setMinWidth(15);
otherProteinJTable.getColumn("Accession").setMaxWidth(Integer.MAX_VALUE);
}
otherProteinJTable.getColumn("Chr").setCellRenderer(new ChromosomeTableCellRenderer());
// set the preferred size of the accession column
width = ProteinTableModel.getPreferredAccessionColumnWidth(retainedProteinJTable, retainedProteinJTable.getColumn("Accession").getModelIndex(), 2, peptideShakerGUI.getMetrics().getMaxProteinKeyLength());
if (width != null) {
retainedProteinJTable.getColumn("Accession").setMinWidth(width);
retainedProteinJTable.getColumn("Accession").setMaxWidth(width);
} else {
retainedProteinJTable.getColumn("Accession").setMinWidth(15);
retainedProteinJTable.getColumn("Accession").setMaxWidth(Integer.MAX_VALUE);
}
retainedProteinJTable.getColumn("Chr").setCellRenderer(new ChromosomeTableCellRenderer());
// set up the table header tooltips
retainedProteinsTableToolTips = new ArrayList<String>();
retainedProteinsTableToolTips.add(null);
retainedProteinsTableToolTips.add("Protein Accession");