Create a lottery game application using jcheckboxes


Problem:

Question: Create a lottery game application using JCheckBoxes. For this game, generate six random numbers, each between 0 and 30 inclusive. Allow the user to choose six check boxes to play the game. (Do not allow the user to choose more than six boxes.) After the player has chosen six numbers, display the randomly selected numbers, the player's numbers, and the amount of money the user has won, as follows:

Three matches -- $100, Four matches -- $10,000, Five matches--$50,000, Six matches--$1,000,000, Zero, one, or two matches--$0.

Question: Add a menu bar to the program with a File menu. In the File menu, add a submenu (JMenuItem) called About. When the user clicks on the About menu item, display a JOptionPane message dialog that contains your name, course number, and student ID.

Please show your work.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Create a lottery game application using jcheckboxes
Reference No:- TGS0891363

Expected delivery within 24 Hours