Question: java Worksheet Nine: Graphical User Interface GUI / part 1 You receive the files Example1.java Compile and run the above program. Modify the application such
Worksheet Nine: Graphical User Interface GUI / part 1 You receive the files Example1.java Compile and run the above program. Modify the application such that: a) the counter can be incremented and decremented: To do so: - You should increase the size of the frame to 300,100 . - You need to add the new button "decrement". - In addition, you need to add an action listener for the new button so that the counter can be decremented. b) Modify the program above to include the multiply () by 3 and division (/) by 3 operations. To do so: - you should increase the size of the frame to 400,200 - you need to add the new button "multiply by 3 " - you need to add the new button "division by 3 " - In addition, you need to add an action listener for the new buttons so that the counter can be multiplied by 3 and devised by 3 . c) Modify the program above to read the values of counter from the user. To do so: - you need to add the new TextField "Counter" - You need to read the value on the text field "Counter" and saves them in the counter
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
