• The methods of Component class are widely used in Java swing
• There are two ways to create a frame:
• By creating the object of Frame class (association)
• By extending Frame class (inheritance)
event handling in java programming .pptx

event handling in java programming .pptx

  • 6.
    • The methodsof Component class are widely used in Java swing
  • 7.
    • There aretwo ways to create a frame: • By creating the object of Frame class (association) • By extending Frame class (inheritance)