EVENT HANDLING MODEL

 

 

 

 

 

 

 

 

 

 

Java.lang.Object                             Action Event                 Container Event

 

 

Java.util.EventObject                Adjustment Event         Focus Event

 

 


Java.awt.AWTEvent           Item Event                    Paint Event

 

                                         

                                          Component Event         Window Event

 

                             

                                                                              Input Event

 

 


                                                                  Key Event        Mouse Event   

 

 

 

 

 

 

 

 

 

 

 

 

 

Additional event listeners can be found in the javax.swing.event package.

 

 

 

 

 

 

 

 

Example