+ String fileName = chooser.getSelectedFile().getPath();
+ try {
+ PAEContactMatrix.validateContactMatrixFile(fileName);
+ } catch (Exception thr)
+ {
+ JvOptionPane.showInternalMessageDialog(this, MessageManager
+ .formatMessage("label.couldnt_load_file", new Object[]
+ { fileName})+"<br>"+thr.getLocalizedMessage(),
+ MessageManager.getString("label.error_loading_file"),
+ JvOptionPane.WARNING_MESSAGE);
+ Console.error("Couldn't import "+fileName+" as a PAE matrix",thr);
+ return;
+ }
+ localPdbPaeMatrixFileName = fileName;