public AdminClass() throws DALException {
		adminList = new ArrayList<AnsatDTO>();
		adminList = ansatAdmin.getAnsatList();
		for (AnsatDTO list : adminList) {
			if ((list.getRolleId()==1)&&(list.getPassword()==null)) {
				JOptionPane.showMessageDialog(null, CreateAdmin(list),"Administrator data", JOptionPane.PLAIN_MESSAGE);
				adminOK=false;
				break;
			} else {
				adminOK=true;
			}
		}
		if (adminOK) {
			JOptionPane.showMessageDialog(null, "System Administratoren er oprettet.\n"
					+ " Fortsaetter eksekveringen af hovedprogrammet.");
		}
		
	}