Question: The NumberGuess class should be a simple program with a GUI. It should contain instructions for a user should guess a number which is randomly
The NumberGuess class should be a simple program with a GUI. It should contain instructions for a user should guess a number which is randomly generated in the range 1100 inclusive. Your program should contain the following components (use meaningful identifiers): - A Jababl containing instructions for enter a guess. - A JTextField that allows users to enter a guess. - A JButton that allows users to submit a guess. - A JButton that allows users to get a new secret number. - A Jabel that displays the results of the previous guess. Your program should compare the person's guess to the secret number and indicate if their guess was "too high", "too low", or "correct". Note that you should use those exact values or the unit test may not function properly
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
