Richard G Baldwin (512) 223-4758, baldwin@austin.cc.tx.us, http://www2.austin.cc.tx.us/baldwin/

Event Handling in JDK 1.1, Paint Events

Java Programming, Lecture Notes # 101, Revised 09/22/98.



This short lesson is being provided solely for completeness.  This is what the JDK 1.1.6 documentation has to say about the PaintEvent class:
 
 
"The component-level paint event. 
This event is a special type which is used to ensure that paint/update method calls are serialized along with the other events delivered from the event queue. This event is not designed to be used with the Event Listener model; programs should continue to override paint/update methods in order render themselves properly. "

My interpretation of this is that if we properly override the paint() method, and the update() method when needed, we don't need to worry about this event.  It will take care of itself.

-end-