- // TODO: JAL-1102 - should have a warning message in dialog, not simply overwrite the broken input data with the exception
- textarea.setText("Could not parse Newick file!\n" + ex);
+ // TODO: JAL-1102 - should have a warning message in dialog, not simply
+ // overwrite the broken input data with the exception
+ textarea.setText(MessageManager.formatMessage(
+ "label.could_not_parse_newick_file", new String[]
+ { ex.getMessage() }));