I’ve hit a snag getting my active rendering to display smoothly. I draw a background image using a bufferedImage, and them put several different items over it for the user to interact with. I noticed while building the program that it ran much slower when the background image was being rendered than if it wasn’t For instance, I have made my own versions of text field, and there is a noticable delay when the user types when I’m rendering a background image. Also, removing the image to increase speed revealed that the items from a previous state of the game were still there, apparently being rendered on screen. Currently, I’m using double buffering, no Swing components or any of that mess, and no hardware acceleration, and I’m disposing the graphics object at theend of every rendering pass. I’m also fairly new to all of this, so I havent learned any tricks to tweaking performance. From the look of it, it feels lke for some reason, instead of old items going away, I’m just covering them over with the background. Unfortuantely, I cannot post any code, becuase other classmates at my school are working on the same project, and it’s in violation of our honor code, but I’ll give as many details as I can if you need any. Any help would be greatly appreciated.
prozaconstilts