Summary

You can create a professional-looking program with a reasonably modest amount of coding by using Swing and Java's event-handling features. Although the LottoMadness app is longer than many of the examples you have worked in during the last 14 hours, half of the program was comprised of statements to build the interface. If you spend some time running the app, you will become even more bitter and envious about the good fortune of the people who win these six-number lottery drawings. My most recent run of the program indicates that I could blow $27 grand and the best 266 years of my life buying tickets, only to win a handful of 4-of-6 and 3-of-6 prizes. In comparison to those odds, the chance to make Java coding skills pay off almost seems like a sure thing.

      
Comments