Tuesday, April 1, 2014

Break counter




If the number should change at each button click, have the listener change the value and show the new value. If the value is to wrap from 30 to 0, add an if statement in the listener to handle that.



The value should be preserved in a class level variable.







No comments:

Post a Comment