{\r
g.setColor(Color.black);\r
g.setFont(new Font("Arial", Font.BOLD, 24));\r
- g.drawString("Jalview Applet", 50, this.size().height/2 -30);\r
- g.drawString("Loading Data...", 50, this.size().height/2);\r
+ g.drawString("Jalview Applet", 50, this.getSize().height/2 -30);\r
+ g.drawString("Loading Data...", 50, this.getSize().height/2);\r
}\r
\r
\r
}\r
\r
\r
- String pdbfile = applet.getParameter("PDBFILE");\r
- if(pdbfile!=null)\r
+ param = getParameter("PDBFILE");\r
+ if(param!=null)\r
{\r
- if( inArchive(pdbfile) )\r
+ if( inArchive(param) )\r
protocol = AppletFormatAdapter.CLASSLOADER;\r
else\r
{\r
protocol = AppletFormatAdapter.URL;\r
- pdbfile = addProtocol(pdbfile);\r
+ param = addProtocol(param);\r
}\r
\r
String sequence = applet.getParameter("PDBSEQ");\r
\r
if(sequence!=null)\r
{\r
- new MCview.AppletPDBViewer(pdbfile, protocol,\r
+ new MCview.AppletPDBViewer(param, protocol,\r
(Sequence)currentAlignFrame.getAlignViewport().getAlignment().findName(sequence),\r
currentAlignFrame.getSeqcanvas());\r
}\r