}
private void populateList()
{
JDBMHN mhnTemp = new JDBMHN(Common.selectedHostID, Common.sessionID);
JDBMHNPalletTableModelProperties mhntable = new JDBMHNPalletTableModelProperties(mhnTemp.getMHNDataResultSet(listStatement));
TableRowSorter<JDBMHNPalletTableModelProperties> sorter = new TableRowSorter<JDBMHNPalletTableModelProperties>(mhntable);
jTable1.setRowSorter(sorter);
jTable1.setModel(mhntable);
jScrollPane1.setViewportView(jTable1);
jTable1.getTableHeader().setReorderingAllowed(false);
jTable1.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
jTable1.setFont(Common.font_list);
jTable1.getColumnModel().getColumn(JDBMHNPalletTableModelProperties.SSCC_Col).setPreferredWidth(132);
jTable1.getColumnModel().getColumn(JDBMHNPalletTableModelProperties.Material_Col).setPreferredWidth(68);
jTable1.getColumnModel().getColumn(JDBMHNPalletTableModelProperties.Batch_Col).setPreferredWidth(75);
jTable1.getColumnModel().getColumn(JDBMHNPalletTableModelProperties.Process_Order_Col).setPreferredWidth(82);
jTable1.getColumnModel().getColumn(JDBMHNPalletTableModelProperties.Quantity_Col).setPreferredWidth(60);
jTable1.getColumnModel().getColumn(JDBMHNPalletTableModelProperties.Uom_Col).setPreferredWidth(35);
jTable1.getColumnModel().getColumn(JDBMHNPalletTableModelProperties.Date_of_Manufacture_Col).setPreferredWidth(120);
jTable1.getColumnModel().getColumn(JDBMHNPalletTableModelProperties.SSCC_Status_Col).setPreferredWidth(132);
jTable1.getColumnModel().getColumn(JDBMHNPalletTableModelProperties.Batch_Status_Col).setPreferredWidth(95);
jTable1.getColumnModel().getColumn(JDBMHNPalletTableModelProperties.Location_Col).setPreferredWidth(88);
jTable1.getColumnModel().getColumn(JDBMHNPalletTableModelProperties.Decision_Col).setPreferredWidth(80);
jScrollPane1.repaint();
JUtility.setResultRecordCountColour(jStatusText, false, 0, mhntable.getRowCount());
populateSummary();
}