Several months ago I got quite a bit of help here (thanks!) on implimenting a scrolling routine in Java 2.0. Bascially I am scrolling over a large static image (4000 x 4000 pixels) using Swing. The visible window is 600 x 600 pixels. On top of this window, on to the image, I am drawing additional graphics using Java 2D (graphics2d). Programmatically this works fine. Unfortunately there is a severe stuttering in the rendering. Things move smoothly for a while and then suddeenly stop and then start again. My guess was that it was a garbage collection problem. I switched to HotSpot and the problem changed to smaller stutterings, but they were still there. I have tried all the various switches including "no garbage collection". I still can't get truly smooth scrolling (like you can get on a Nintendo for instance :-) ). One thought is to jump ship from Swing and do the scrolling in Java2D itself. My question is: is there a well known (or preferred) method for scrolling over large images within Java2D? Thanks everyone! Rich Gold Manager, RED Xerox PARC [EMAIL PROTECTED] www.parc.xerox.com/richgold 650-812-4825 fone ===================================================================== To subscribe/unsubscribe, send mail to [EMAIL PROTECTED] Java 2D Home Page: http://java.sun.com/products/java-media/2D/
