int i = 0; ArrayList remElements = new ArrayList(); while (obj!=null && i< obj.size()) { System.out.println(obj.get(i)); String o = (String)obj.get(i);  remElements.add(o); SComponent attrField; if (!((String)o).equals("jpegPhoto")) { attrField = new STextField(""); ((STextField)attrField).setColumns(columns); textHashtable.put(o,"uu");
int i = 0; ArrayList remElements = new ArrayList(); while (obj!=null && i< obj.size()) {  String o = (String)obj.get(i); remElements.add(o); SComponent attrField; if (!((String)o).equals("jpegPhoto")) { if (((String)o).equals("userPassword")) { attrField = new SPasswordField(); ((SPasswordField)attrField).setColumns(columns); ((SPasswordField)attrField).setText(""); textHashtable.put(o,""); } else { attrField = new STextField(""); ((STextField)attrField).setColumns(columns); textHashtable.put(o,""); } } else { attrField = new SLabel(""); } componentTable.put(o,attrField); i++; } existentAttrsF.removeAll(); Enumeration compEnum; compEnum = componentTable.keys();  addEditableComponents(componentTable);  for (int l = 0;l<remElements.size();l++) { int j = obj.indexOf(remElements.get(l)); objectAttributes.remove(j); } otherAttrsL.setListData(objectAttributes);
            public void actionPerformed(ActionEvent e) {                int i = 0;                ArrayList remElements = new ArrayList();                while (obj!=null && i< obj.size()) {                System.out.println(obj.get(i));                String o = (String)obj.get(i);                		remElements.add(o);		SComponent attrField;		if (!((String)o).equals("jpegPhoto")) {		    attrField = new STextField("");		    ((STextField)attrField).setColumns(columns);		    textHashtable.put(o,"uu");		}		else {		    attrField = new SLabel("");		}				componentTable.put(o,attrField);		i++;                }                existentAttrsF.removeAll();                Enumeration compEnum;                compEnum = componentTable.keys();                addEditableComponents(componentTable);                System.out.println("groesse  " + remElements.size());                for (int l = 0;l<remElements.size();l++) {                int j = obj.indexOf(remElements.get(l));                System.out.println("ausgesucht  " + remElements.get(l));                objectAttributes.remove(j);                }                otherAttrsL.setListData(objectAttributes);            }