protected void fillList() {
try {
this.setModules(new ArrayList<Module>());
this.getModules().add(null);
ModuleGroupsRemote groupManagement = (ModuleGroupsRemote) ClientTools.getRemoteBean(ModuleGroupsRemote.class);
List groups = groupManagement.getAllModuleGroups(ClientGlobals.getUser(), ClientGlobals.getCompany());
for (int i = 0; i < groups.size(); i++) {
addGroupModules((ModuleGroup) groups.get(i));
}
} catch (Exception e) {
e.printStackTrace();