/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.5)
- * Copyright (C) 2010 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7)
+ * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle
*
* This file is part of Jalview.
*
{
try
{
- jalview.io.NewickFile fin = new jalview.io.NewickFile(textarea
- .getText(), "Paste");
+ jalview.io.NewickFile fin = new jalview.io.NewickFile(
+ textarea.getText(), "Paste");
fin.parse();
if (fin.getTree() != null)
else if (annotationImport)
{
if (new AnnotationFile().readAnnotationFile(
- alignFrame.viewport.alignment, textarea.getText(),
+ alignFrame.viewport.getAlignment(), textarea.getText(),
jalview.io.AppletFormatAdapter.PASTE))
{
alignFrame.alignPanel.fontChanged();