public void fillJList() {
		model = new DefaultListModel<String>();
		String tip_box = box.getSelectedItem().toString();
		switch (tip_box) {
		case "Profesor":
			tip = TipUtilizator.Profesor;
			for (Profesor p : Centralizator.getInstance().getProfesor()) {
				model.addElement(p.getNume() + " " + p.getPrenume());
			}
			break;
		case "Administrator":
			tip = TipUtilizator.Administrator;
			for (Administrator a : Centralizator.getInstance().getAdmins()) {
				if (!a.getNumeUtil().equals(admin.getNumeUtil()))
					model.addElement(a.getNume() + " " + a.getPrenume());
			}
			break;
		case "Elev":
			tip = TipUtilizator.Elev;
			for (Elev e : Centralizator.getInstance().getElevi()) {
				model.addElement(e.getNume() + " " + e.getPrenume());
			}
			break;
		case "Secretar":
			tip = TipUtilizator.Secretar;
			for (Secretar s : Centralizator.getInstance().getSecretari()) {
				model.addElement(s.getNume() + " " + s.getPrenume());
			}
		}
		lista.setBorder(new EtchedBorder());
		lista.setModel(model);
	}