private void loadPerson() {
// TODO Auto-generated method stub
Pendinng = Satisfied.getInstanceSatisfied().getPendingCompanyApplication();
fila = new Object[5];
for (int i = 0, j=1; i <Satisfied.getInstanceSatisfied().getPendingCompanyApplication().getCompanyApplications().size(); i++,j++)
{
fila[0] = i+1;
fila[1] = Satisfied.getInstanceSatisfied().getPendingCompanyApplication().getCompanyApplication(i).getCompany().getRNC();
fila[2] = Satisfied.getInstanceSatisfied().getPendingCompanyApplication().getCompanyApplication(i).getCompany().getName();
fila[3] = Satisfied.getInstanceSatisfied().getPendingCompanyApplication().getCompanyApplication(i).getCompany().getArea();
fila[4] = Satisfied.getInstanceSatisfied().getPendingCompanyApplication().getCompanyApplication(i).getEmployeeCant();
tableModel.addRow(fila);
tableModel.addRow(fila);
}
table.setModel(tableModel);
table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
table.getTableHeader().setReorderingAllowed(false);
TableColumnModel columnModel = table.getColumnModel();
columnModel.getColumn(0).setPreferredWidth(70);
columnModel.getColumn(1).setPreferredWidth(160);
columnModel.getColumn(2).setPreferredWidth(240);
columnModel.getColumn(3).setPreferredWidth(120);
columnModel.getColumn(4).setPreferredWidth(240);
}