\r
public class SeqCanvas extends JPanel\r
{\r
+ FeatureRenderer fr;\r
Image img;\r
Graphics gg;\r
int imgWidth;\r
public SeqCanvas(AlignViewport av)\r
{\r
this.av = av;\r
+ fr = new FeatureRenderer(av);\r
setLayout(new BorderLayout());\r
PaintRefresher.Register(this);\r
\r
offset + AlignmentUtil.getPixelHeight(starty, i, av.getCharHeight()),\r
charWidth,charHeight,null, i);\r
\r
+ if(av.showSequenceFeatures)\r
+ {\r
+ fr.drawSequence(g, nextSeq, groups, x1, x2,\r
+ (x1 - startx) * charWidth,\r
+ offset +\r
+ AlignmentUtil.getPixelHeight(starty, i, av.getCharHeight()),\r
+ charWidth, charHeight, null, i);\r
+ }\r
+\r
+\r
+\r
\r
if( group!=null )\r
{\r