+ "\" has null or unidentifiable data content!");
if (!Jalview.isHeadlessMode())
{
- JOptionPane.showMessageDialog(null, "The input file \"" + file
- + "\" has null or unidentifiable data content!",
- "Empty data file",
- JOptionPane.ERROR_MESSAGE);
+ javax.swing.JOptionPane.showInternalMessageDialog(
+ Desktop.desktop,
+ MessageManager.getString("label.couldnt_read_data")
+ + " in " + file + "\n"
+ + AppletFormatAdapter.SUPPORTED_FORMATS,
+ MessageManager.getString("label.couldnt_read_data"),
+ JOptionPane.WARNING_MESSAGE);
}
return;
}