CS-234:                 Lab 10                   Practice GUI Application Development                   11/18/24

Create a java project Lab10. Copy the files from “files for lab4” folder in the readOnly folder into this project.

Run the Fahrenheit application and observe how it works.

Run the PushCounter application and observe how it works.

Add the following code to actionPerformed method and run the code. Observe what happens.

         JButton clicked = (JButton) event.getSource();

         System.out.println(clicked.getText());

      

Design and Implement a GUI Calculator for the following operations. (add different buttons for each of the operations)

·         Square Root

·         Square

·         Cube Root

·         Cube

·         Add two numbers

·         Multiply two numbers

Create a text area where the operations processed through the calculator is included.