return;\r
}\r
\r
- imgWidth = (av.endRes-av.startRes+1) *av.charWidth;\r
+ imgWidth = (av.endRes-av.startRes) *av.charWidth;\r
\r
image = new BufferedImage(imgWidth,\r
ap.annotationPanel.getHeight(),\r
gg.setFont(av.getFont());\r
\r
\r
- drawComponent( gg, av.startRes, av.endRes+1);\r
+ drawComponent( gg, av.startRes, av.endRes);\r
g.drawImage( image, 0, 0, this);\r
}\r
\r
}\r
\r
gg.copyArea( 0,0, imgWidth, getHeight(), -horizontal*av.charWidth, 0 );\r
- int sr=av.startRes, er=av.endRes+1, transX=0;\r
+ int sr=av.startRes, er=av.endRes, transX=0;\r
\r
if(horizontal>0) // scrollbar pulled right, image to the left\r
{\r