Slide 1Slide 2Slide 3Slide 4Slide 5Applets4/29/2009Opening Discussion●Minute Essay comments–Would it be easier to write your applet in BlueJ?–What are events and why are we using them?–Will applets/eclipse be part of the final exam?–What is the serialVersionUID?–Review sessions? Project grades.–Difference between keyPressed and keyTyped.–Changing fonts/sizes.Finishing the Notepad●We need to finish up our infinite notepad.●Most of it is complete, but we still need to change the values of our view port when the user clicks and drags.Using a Timer●The notepad showed us how to use listeners for the keyboard and mouse. It didn't show us how to do animation.●Let's write a second little applet that can demonstrate this.●The approach is to use the javax.swing.Timer class.●We build a timer giving it a delay and an ActionListener.Minute Essay●What are your thoughts on the relative merits of Greenfoot, BlueJ, and Eclipse? Do you think they should be used differently in future semesters?●Remember to end me your designs for the second project by tonight.●Next class we will do a quick “show your code” then have course
View Full Document