From 47a3f3d338d24f2a92d8249eede1ed0a6fd43d87 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Thu, 16 Mar 2006 15:18:17 +0000 Subject: [PATCH] CandP takes AlignFrame, not applet --- src/jalview/appletgui/APopupMenu.java | 4 ++-- src/jalview/appletgui/AnnotationLabels.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/jalview/appletgui/APopupMenu.java b/src/jalview/appletgui/APopupMenu.java index a9a0e35..b85c7d2 100755 --- a/src/jalview/appletgui/APopupMenu.java +++ b/src/jalview/appletgui/APopupMenu.java @@ -181,9 +181,9 @@ public class APopupMenu void addPDB(Sequence seq) { - CutAndPasteTransfer cap = new CutAndPasteTransfer(true, ap.alignFrame.applet); + CutAndPasteTransfer cap = new CutAndPasteTransfer(true, ap.alignFrame); cap.setText("Paste your PDB file here."); - cap.setPDBImport(seq, ap.seqPanel.seqCanvas); + cap.setPDBImport(seq); Frame frame = new Frame(); frame.add(cap); jalview.bin.JalviewLite.addFrame(frame, "Paste PDB file ", 400, 300); diff --git a/src/jalview/appletgui/AnnotationLabels.java b/src/jalview/appletgui/AnnotationLabels.java index 3ef61e6..ae47b72 100755 --- a/src/jalview/appletgui/AnnotationLabels.java +++ b/src/jalview/appletgui/AnnotationLabels.java @@ -83,7 +83,7 @@ public class AnnotationLabels } else if (evt.getActionCommand().equals(OUTPUT_TEXT)) { - CutAndPasteTransfer cap = new CutAndPasteTransfer(false, ap.alignFrame.applet); + CutAndPasteTransfer cap = new CutAndPasteTransfer(false, ap.alignFrame); Frame frame = new Frame(); frame.add(cap); jalview.bin.JalviewLite.addFrame(frame, -- 1.7.10.2