[solved]-Guess Number Using Gui Elements Polymorphism Inheritance Program Select Random Number 1 10 Q39021272
Guess my number using GUI elements its on polymorphism andinheritance
- The program should select a random number from 1 to 1000. Theprogram should then ask the user to guess a number from 1 to 1000.A JTextField can be used for the guesses. After each guess isinput, the background color of the box should change to either blue(for cold or low) or red (for hot or high) along with a label thattells the user if they were too high or too low. When the userfinally guesses the right answer, the color should be green and thebox should change to uneditable. The game should ask the user ifthey want to play again. At the end of each round of play, thenumber of guesses it took to get the number correct should berecorded, along with the time it took. When the user indicates thatthey would like to stop playing the game, the relevant statisticsshould be displayed in a dialog box before the program ends…so theuser knows for each round played, how many guesses it took and thetime it took to get the right answer. They should hit OK on thisbox to end the program and the game entirely.
Expert Answer
Answer to Guess my number using GUI elements its on polymorphism and inheritance The program should select a random number from 1 … . . .
OR

