| 发表于:2007-04-04 16:17:14 楼主 |
private void drawimage(graphics g, int x, int y) { g.setclip(scrollingimagerectangle); rectangle drawrect = new rectangle(new point(x, y), scrollingimagerectangle.size); g.drawimage(this.scrollingimage, scrollingimagerectangle, drawrect, graphicsunit.pixel); } 我在每次点击了滚动条后就去执行上面的函数.. 但是这样它会闪动.. |
|
|
|
|