return;
}
currentFileFormat = chooser.getSelectedFormat();
- // todo is this (2005) test now obsolete - value is never null?
while (currentFileFormat == null)
{
+ // if the autodetect format from extension failed..
JvOptionPane.showInternalMessageDialog(Desktop.desktop,
- MessageManager
- .getString("label.select_file_format_before_saving"),
- MessageManager.getString("label.file_format_not_specified"),
- JvOptionPane.WARNING_MESSAGE);
+ MessageManager.getString(
+ "label.select_file_format_before_saving"),
+ MessageManager.getString("label.file_format_not_specified"),
+ JvOptionPane.WARNING_MESSAGE);
value = chooser.showSaveDialog(this);
if (value != JalviewFileChooser.APPROVE_OPTION)
{