posted 12 years ago
All the interesting methods of concrete implementations of Graphics/2D are in native code, and the concrete classes themselves are (possibly platform-dependent) proprietary com.sun... classes. Do a sysout of getClass() in a painting method override and you can get the class name. No, you won't find the source of that class in src.zip.
If you're interested in the sequence of painting activities, look at RepaintManager.
The repaint() method merely queues a paint event in the EventQueue.
luck, db
There are no new questions, but there may be new answers.