Can you make a GUI in java that : 1. (game field) randomizes 9 numbers (form 0 to 9) numbers. randomizes n (rows) and collumns(m) ((from 1 to 4)) The result should be a GUI with a n x m matrix of buttons, each button should be a random number form 1 to 9. The idea is after every compile i should get a random arrangement 2. random target value is displayed above game field(100-300) 3. The current sum of the numbers displayed on the buttons of the game field is printed below the game field 4.The number of moves to completion is displayed in the upper right corner above the game field. 5.current mathematical operation - add a component to the right side of the game field that displays the current mathematical operation. The current mathematical operation starts at +, after the first move it should randomize. The current mathematical operation only applies for one move, and after the move a new mathematical operation is randomly selected that will be evaluated in the next move. Choose from the following mathematical operations: +, −, ∗, /. 6. upgrade 5th, the next m mathematical operations are displayed on the right side of the game field, and the current operation is highlighted.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Can you make a GUI in java that :

1. (game field)

randomizes 9 numbers (form 0 to 9) numbers.

randomizes n (rows) and collumns(m) ((from 1 to 4))

The result should be a GUI with a n x m matrix of buttons, each button should be a random number form 1 to 9.

The idea is after every compile i should get a random arrangement

2. random target value is displayed above game field(100-300)

3. The current sum of the numbers displayed on the buttons of the game field is printed
below the game field

4.The number of moves to completion is displayed in the upper right corner above the
game field.

5.current mathematical operation - add a component to the right side of the game
field that displays the current mathematical operation. The current mathematical
operation starts at +, after the first move it should randomize. The current mathematical operation only applies for one move, and after the move a new mathematical
operation is randomly selected that will be evaluated in the next move. Choose from
the following mathematical operations: +, −, ∗, /.

6. upgrade 5th, the next m mathematical operations
are displayed on the right side of the game field, and the current operation is highlighted.

Expert Solution
steps

Step by step

Solved in 4 steps with 4 images

Blurred answer
Knowledge Booster
Constants and Variables
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education