HW 08 - Event Driven Programs - 5. theprogramstarts. 7.

HW 08 - Event Driven Programs - 5. theprogramstarts. 7.

This preview shows page 1 - 2 out of 2 pages.

5. What is the difference between the init and run methods in a program?  7. True or False: A mouseClicked event is always preceded by mousePressed event and  followed by a mouseReleased event.  - False. There is not particular order in which these events are to be used.  8. Describe the effects of the methods addMouseListener, addKeyListeners and add  ActionListners  - All these three methods listens or monitors some mouse, key or interface user activity 
Image of page 1
Image of page 2

You've reached the end of your free preview.

Want to read both pages?

  • Spring '08
  • DPMcPherson
  • initialization code, run method, run methods, init method, program¬†starts.

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture