\r
void addPDB(Sequence seq)\r
{\r
- CutAndPasteTransfer cap = new CutAndPasteTransfer(true, ap.alignFrame.applet);\r
+ CutAndPasteTransfer cap = new CutAndPasteTransfer(true, ap.alignFrame);\r
cap.setText("Paste your PDB file here.");\r
- cap.setPDBImport(seq, ap.seqPanel.seqCanvas);\r
+ cap.setPDBImport(seq);\r
Frame frame = new Frame();\r
frame.add(cap);\r
jalview.bin.JalviewLite.addFrame(frame, "Paste PDB file ", 400, 300);\r
}\r
else if (evt.getActionCommand().equals(OUTPUT_TEXT))\r
{\r
- CutAndPasteTransfer cap = new CutAndPasteTransfer(false, ap.alignFrame.applet);\r
+ CutAndPasteTransfer cap = new CutAndPasteTransfer(false, ap.alignFrame);\r
Frame frame = new Frame();\r
frame.add(cap);\r
jalview.bin.JalviewLite.addFrame(frame,\r