Not a stupid question! This is my first graphics app (in the corporate
world I mainly do meat and potatoes database programming) and first java
app of any real size that I've done outside the context of school.
My current redraw strategy is to iterate the linkedlist in the paint
method and pass
My current redraw strategy is to iterate the linkedlist in the paint
method and pass the getBounds method of each element into the hitClip
method of the graphics object to determine if I need to draw it.
Try eliminating the hitClip call and see how things go. That method
is not meant to be used
Jim Graham wrote:
Try eliminating the hitClip call and see how things go. That method
is not meant to be used to pare down rendering on a per-object basis,
it is meant more for hit testing and also to see if a group of
objects should be iterated or not. If you are calling it per-object
then you