Activities

If the main event of this hour didn't provide enough action for your tastes, interface with the following activities:

  • Add a text field to the LottoMadness app that works in conjunction with the THRead.sleep() statement in the LottoEvent class to slow down the rate that drawings are conducted.
  • Modify the LottoMadness project so that it draws five numbers from 1 to 90.

To see Java programs that implement these activities, visit the tutorial's website at http://www.java24hours.com.

      
Comments