public void store() { switch (property.getKind()) { case MakeLogFile: case Folder: case BinaryFile: property.setValue(getComboBoxText()); storeHistory(); break; case BinaryFiles: String text = getComboBoxText(); StringTokenizer st = new StringTokenizer(text, LIST_LIST_DELIMITER); // NOI18N List<String> list = new ArrayList<String>(); while (st.hasMoreTokens()) { list.add(st.nextToken()); } property.setValue(list.toArray(new String[list.size()])); storeHistory(); break; default: break; } }