On 8/25/05, Jim Graham <[EMAIL PROTECTED]> wrote: > > >> What happens right before the trigger? You could try overriding > >> repaint() > > repaint() is not getting called excessively. It is only update() that > > gets called all the time. I know this since I tried this: > > > > public void repaint() { > > System.out.println("repaint"); > > super.repaint(); > > } > > > > .. without "repaint" being printed every time "update" was printed > > (did the same thing for update() ) > > I don't understand this statement. Are you saying that update() was being > called more times than repaint()?
Sorry for crypting writing, yes that is what I mean. repaint is called a lot less times than update. > > Also, note that there are several flavors of repaint() and any of them lead > to update() being called... > > ...jim > > Still, I tried removing ALL repaint calls from my code, and overriding both update and paint (in the manner you described with paint doing the painting and update calling paint). Still same .. /Olof =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".