String[] () { final ComboBoxModel<FileDescriptor> model = myFileChooser.getModel(); String[] result = new String[model.getSize()]; for (int i = 0; i < model.getSize(); i++) { FileDescriptor o = model.getElementAt(i); result[i] = o.element.getPresentableText(); } return result; }