SUCCEED

   

programmingHS 2010
Shodor > SUCCEED > Workshops > Archive > programmingHS 2010

Today the students focused on modifying their already working programs. Matt started the class by having the students add two new sliders to the program: Susceptible Rate and Days to Susceptible. He then had the students add labels to their new sliders, add them to the panels, and work on adjusting the alignment before having a short debugging session.

Matt then showed the students how to implement functionality for the new sliders that they had added. This new code allowed the sliders to respond to the users in the applet. Matt moved on to adding get and set methods. He explained each method and why each was necessary for their programs. Then he added a new code to an already existing class, which would allow the students to see the results of their day's work.

At the end of the day, Matt showed the students how to create an executable version of their program that they could send to themselves at home.