Repost: GUI about Keno

I need an explanation for this Computer Science question to help me study.

Can help me code a GUI about Keno?

This is how the Keno GUI works.

1.This GUI program will have 80 buttons with the numbers from 1 to 80.

2.The user should select 10 numbers by clicking 10 buttons.

3.Buttons are originally YELLOW and when buttons are clicked, they should change color to BLUE

4.The User can unclick the BUTTON which would turn the color back to yellow

5.The user must select 10 numbers. No more numbers than 10 may be selected at any given time.

6.Whenever 10 buttons are selected the “play” button should be enabled, if less than 10, play is disabled otherwise.

7.When the user clicks “reset”, the number buttons should turn YELLOW again, AND the “play” and “reset/clear” buttons should be disabled.

8.When the “reset” button is clicked make sure you also clean the BET amount.

9 When user click play,

  1. Random numbers should be generated inside a method public int[] generateNumbers() // this method will take no arguments and return an array of 10 integer numbers that range from 1 to 80
  2. Buttons selected by the user and matched by the computer will turn GREEN if it is not matched with the computer it will turn RED
  3. Buttons not selected by the user but generated by the computer should turn WHITE
  4. Count the numbers generated by the computer that were matched by the player // Display the results in the label, for example “you matched xx numbers”, followed by the amount earned (if any)
  5. Once the result is displayed, make sure that your “play” button is disabled so the user won’t attempt to re-play the same numbers.
  6. After the user clicks reset and places a new bet he/she should be able to play again.
  7. Attached is the file which suppose to look like when you run it.
  • Best Nursing Writers
  • Best Nursing Writing Company
  • Buy a Nursing Essay
  • Capstone Project Writing Services
  • CHEAP NURSING ASSIGNMENTS
  • Cheap Thesis Writing Nurses
  • Community Health
  • Course Work
  • Document Formatting Services
  • Family Health Nursing
  • Fundamentals of Nursing
  • Geriatrics
  • GRADUATES CAPSTONE PROJECT
  • Health & Human Ecology
  • Human Bio-Sciences
  • Human Physiology
  • Industry Warning and Guidance!
  • Legit Nursing Writing Company
  • Medical Writing Services
  • Mental Health & Psychiatry
  • Nursing Assignment Help
  • Nursing Bibliography
  • Nursing Case Study
  • Nursing Coursework Help
  • Nursing Dissertation Writing Services
  • Nursing Essay/Personal Statement
  • Nursing Essays
  • Nursing Freelance Writers
  • Nursing Practitioners
  • Nursing Report Writing
  • Nursing Surgery
  • Nursing Term Paper Writing
  • Nursing Thesis Writing

©  2020 Nursingpaperspros.com