Lines Matching defs:chooser
42 private final JFileChooser chooser;
57 chooser = new JFileChooser("");
58 chooser.setMultiSelectionEnabled(true);
59 chooser.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);
60 chooser.addChoosableFileFilter(
63 chooser.setApproveButtonText(msg("ok"));
93 chooser.setDialogTitle(msg("addJars"));
94 chooser.setSelectedFile(null);
95 chooser.setSelectedFiles(null);
97 int returnValue = chooser.showOpenDialog(owner);
100 File[] selectedFiles = chooser.getSelectedFiles();
139 chooser.setDialogTitle(msg("chooseJars"));
142 // chooser, so we just use setSelectedFile first. It also sets
144 chooser.setSelectedFile(selectedFiles[0]);
145 chooser.setSelectedFiles(selectedFiles);
147 int returnValue = chooser.showOpenDialog(owner);
150 selectedFiles = chooser.getSelectedFiles();