0 1

BIT401 ยท 0 ยท 10 marks

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]

Advanced Java ProgrammingChapter 3: GUI Programming with AWT and SwingText boxes and text fields

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...