} catch (Exception ex)
{
+ // 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);
return;
}
else
{
alignFrame.addSequences(al.getSequencesArray());
+ alignFrame.statusBar
+ .setText("Successfully pasted alignment file");
}
}
}
-
+ // TODO: dialog should indicate if data was parsed correctly or not - see
+ // JAL-1102
if (this.getParent() instanceof Frame)
{
((Frame) this.getParent()).setVisible(false);