+ }\r
+ catch (Exception ex)\r
+ {\r
+ textarea.setText("Could not parse Newick file!\n" + ex);\r
+ return;\r
+ }\r
+ }\r
+ else if(alignFrame!=null)\r
+ {\r
+ SequenceI[] sequences = null;\r
+\r
+ String format = new IdentifyFile().Identify(text, AppletFormatAdapter.PASTE);\r
+ try{\r
+ sequences = new AppletFormatAdapter().readFile(text, AppletFormatAdapter.PASTE, format);\r
+ }catch(java.io.IOException ex)\r
+ {\r
+ ex.printStackTrace();\r
+ }\r