if (value == JalviewFileChooser.APPROVE_OPTION)
{
String fileName = chooser.getSelectedFile().getPath();
- try {
+ try
+ {
PAEContactMatrix.validateContactMatrixFile(fileName);
} catch (Exception thr)
{
JvOptionPane.showInternalMessageDialog(this, MessageManager
.formatMessage("label.couldnt_load_file", new Object[]
- { fileName})+"<br>"+thr.getLocalizedMessage(),
+ { fileName }) + "<br>" + thr.getLocalizedMessage(),
MessageManager.getString("label.error_loading_file"),
JvOptionPane.WARNING_MESSAGE);
- Console.error("Couldn't import "+fileName+" as a PAE matrix",thr);
+ Console.error("Couldn't import " + fileName + " as a PAE matrix",
+ thr);
return;
}
localPdbPaeMatrixFileName = fileName;
btn_newView.setEnabled(false);
btn_cancel.setEnabled(false);
actionsPanel.setEnabled(false);
-
- final String progress=MessageManager.getString("label.working_ellipsis");
+
+ final String progress = MessageManager
+ .getString("label.working_ellipsis");
setProgressBar(progress, progress.hashCode());
Runnable viewStruc = new Runnable()
{