Question: Consider the following GUI and write java code. [05&06] [6+3=9 Marks] CALCULATION PERCENTAGE numi NUMBERS NUMBER 1 t.ch numi 20% 40% NUMBER 2 NUMBER 3
![Consider the following GUI and write java code. [05&06] [6+3=9 Marks]](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f38dbfed382_56766f38dbf76192.jpg)
Consider the following GUI and write java code. [05&06] [6+3=9 Marks] CALCULATION PERCENTAGE numi NUMBERS NUMBER 1 t.ch numi 20% 40% NUMBER 2 NUMBER 3 f_ch 60% s_ch num2 CALCULATE CLEAR CLOSE num3 RESULT output The variable names of various textfields and checkboxes are labeled in boxes. Write the java code for the following: a) CALCULATE button [05][6 marks] Find the sum of num1,num2 and num3 (num1 +num2+num3) 20% of the sum should be calculated display it in the textfield - output b) CLEAR button [06][2 marks] It should clear all checkboxes and textfields C) CLOSE button [06][1 mark] It should close the window
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
