Advanced Java Programming010 marksText boxes and text fields
Write a java program to create a UI with four labels and three text boxes for Principal, Time, Rate, and Interest. Also put two buttons "Simple Interest" and Reset in the form and handle the event accordingly.
Write a java program to create a UI with four labels and three text boxes for Principal, Time, Rate, and Interest. Also put two buttons "Simple Interest" and Reset in the form and handle the event accordingly.[10]
Key Components: 1. Labels (4): Display field names for Principal, Time, Rate, and Interest 2. Text Boxes (3): Input fields for Principal, Time, and Rate; Interest field is read-only 3. Buttons (2): - "Simple Interest": Calculates SI using formula SI = (P × T × R) / 100 - "Reset": Clears all input...