\r
if(pdbImport)\r
{\r
- new MCview.AppletPDBViewer(text, "Paste", seq, seqcanvas);\r
+ new MCview.AppletPDBViewer(text, AppletFormatAdapter.PASTE, seq, seqcanvas);\r
}\r
else\r
{\r
SequenceI[] sequences = null;\r
\r
- String format = IdentifyFile.Identify(text, "Paste");\r
+ String format = new IdentifyFile().Identify(text, AppletFormatAdapter.PASTE);\r
try{\r
- sequences = new AppletFormatAdapter().readFile(text, "Paste", format);\r
+ sequences = new AppletFormatAdapter().readFile(text, AppletFormatAdapter.PASTE, format);\r
}catch(java.io.IOException ex)\r
{\r
ex.printStackTrace();\r