{
if (listAllResources.isSelectedIndex(j))
{
String item = (String) listAllResources.getModel().getElementAt(j);
JDBAutoLabellerResources po = new JDBAutoLabellerResources(Common.selectedHostID, Common.sessionID);
po.create(jTextFieldType.getText(),comboBox4jGroup.getSelectedItem().toString() ,item);
}
}
populateListAssignedResources(jTextFieldType.getText(),comboBox4jGroup.getSelectedItem().toString(),"");
populateListAllResources();
jButtonUpdate.setEnabled(true);