private void setupList() { ArrayList list = view.initor.mdb.getTypeProfile(type); int size = list.size(); for (int i = 0; i < size; i++) { UniProfile profile = (UniProfile) list.get(i); model.addElement(profile); } }