protected void selectCompany(JbsUser user) {
fmSelectCompany = null;
if ((user.getCompanies() != null) && (user.getCompanies().size() > 1)) {
fmSelectCompany = new FmSelectCompany(user);
} else if (user.isRoot()) //root can login into every company
{
fmSelectCompany = new FmSelectCompany();
}
if (fmSelectCompany != null) {
fmSelectCompany.addActionListener(new ActionListener() {