return chooser;
}
private static JFileChooser getFileChooser() {
return JavaFXFileChooser.isFxAvailable() ? new JavaFXFileChooser() : new JFileChooser();
}
<BUG>public static class KseFileExtFilter extends FileExtFilter {
private String[] extensions;
public KseFileExtFilter(String ext, String description) {
super(ext, description);
extensions = new String[1];
extensions[0] = ext;</BUG>
}

return chooser;
}
public static JFileChooser getJadFileChooser() {
JFileChooser chooser = getFileChooser();
chooser.addChoosableFileFilter(new FileExtFilter(new String[] { JAD_EXT }, JAD_FILE_DESC));
return chooser;
