setBackground(Color.white);\r
}\r
\r
+ MCview.PDBCanvas pdbViewer;\r
+ public SequenceRenderer getSequenceRenderer()\r
+ {\r
+ return sr;\r
+ }\r
+\r
public FeatureRenderer getFeatureRenderer()\r
{\r
return fr;\r
}\r
\r
+ public void setPDBViewer(MCview.PDBCanvas pc)\r
+ {\r
+ pdbViewer = pc;\r
+ }\r
+\r
/**\r
* DOCUMENT ME!\r
*\r
{\r
g.drawImage(img, 0, 0, this);\r
fastPaint = false;\r
-\r
return;\r
}\r
\r
}\r
\r
g.drawImage(img, 0, 0, this);\r
+\r
+ if (pdbViewer != null)\r
+ {\r
+ pdbViewer.updateSeqColours();\r
+ }\r
+\r
}\r
\r
/**\r
repaint();\r
}\r
\r
+\r
synchronized public void drawPanel(Graphics g1, int x1, int x2, int y1,\r
int y2, int startx, int starty, int offset)\r
{\r