* @return an array of selected file paths, or an empty array if no selection is made.
*/
public static String[] getMultipleFiles(JFrame owner, File directory, String extension,
boolean updateWorkingdirectory) {
OpenFileFilter off = null;
if (extension == null)
off = new OpenFileFilter();
else if (!extension.equals(Globals.NONE))
off = new OpenFileFilter(extension);
Object files = getNewFileImpl(owner, directory, extension, null, off,
JFileChooser.OPEN_DIALOG, updateWorkingdirectory, false, true, null);
if (files instanceof String[]) {