Debugging waves with onPaint()
Fragment of a discussion from Talk:Robocode/Graphical Debugging
← Thread:Talk:Robocode/Graphical Debugging/Debugging waves with onPaint()/reply (8)
Jump to navigation
Jump to search
← Thread:Talk:Robocode/Graphical Debugging/Debugging waves with onPaint()/reply (8)
Well keep in mind that the difference between onPaint and getGraphics are twofold.
First if I recall, the painting done by getGraphics is synced better with your current activity. Also you don't have to store any of your painting data for later to paint (which if I recall is part of the sync issue).
Which makes getGraphics much more useful for debugging then onPaint in my humble opinion. Where as onPaint is better for fancy graphics for everyone else after it is released.
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
Return to Thread:Talk:Robocode/Graphical Debugging/Debugging waves with onPaint()/reply (9).