System.err.println("Couldn't locate Jalview XML file : " + ex
+ "\n");
JOptionPane.showInternalMessageDialog(Desktop.desktop,
- MessageManager.formatMessage("label.couldnt_locate", new String[]{file}),
- MessageManager.getString("label.url_not_found"),
+ MessageManager.formatMessage("label.couldnt_locate",
+ new String[]
+ { file }), MessageManager
+ .getString("label.url_not_found"),
JOptionPane.WARNING_MESSAGE);
}
});
{
JOptionPane.showInternalMessageDialog(Desktop.desktop,
- "Error loading " + file, "Error loading Jalview file",
+ MessageManager.formatMessage("label.error_loading_file_params", new String[]{file}), MessageManager.getString("label.error_loading_jalview_file"),
JOptionPane.WARNING_MESSAGE);
}
});