@Override
public void saveAs_actionPerformed(ActionEvent e)
{
+ String format = currentFileFormat == null ? null : currentFileFormat
+ .toString();
JalviewFileChooser chooser = JalviewFileChooser.forWrite(
- Cache.getProperty("LAST_DIRECTORY"),
- // AppletFormatAdapter.WRITABLE_EXTENSIONS,
- // AppletFormatAdapter.WRITABLE_FNAMES,
- currentFileFormat.toString(), false);
+ Cache.getProperty("LAST_DIRECTORY"), format);
chooser.setFileView(new JalviewFileView());
chooser.setDialogTitle(MessageManager