Class Notes (834,183)
Canada (508,400)
COMP 2710 (31)
Tina Yu (20)
Lecture

140314 - Timer Events and Mouse Events.doc

1 Page
80 Views
Unlock Document

Department
Computer Science
Course
COMP 2710
Professor
Tina Yu
Semester
Winter

Description
115 Using timer events for animationjavaxswingTimer create a Timer object and attach it to the acitonListenermust call objectstart to start the timerTimer tnew Timer interval listenerinterval is an int representing millisecondsthe interval can not be changed after the timer is createdcall repaint to call paintComponent methodthe component is not automatically painted with the new datayou must call
More Less

Related notes for COMP 2710

Log In


OR

Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


OR

By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.


Submit