Question: Help Q1 [10 points). Create a class called Question1, and inside this class implement the following GUI: Read Inputs Enter file name: Read from File


Help
Q1 [10 points). Create a class called Question1, and inside this class implement the following GUI: Read Inputs Enter file name: Read from File Compute average The average is: Exit This GUI works as follows: The user enters a file name in the file-name text field, Clicking the "Read from file button does the following: 1. Opens the specified file and reads numerical strings from it. Assume that the inputs are to search 2. Parse each of the numerical strings to Double. 3. Stores all the double numbers inside an array of doubles. Clicking the Compute average button computes the average number of all the double values in the array, and shows the output in the proper text field. Clicking the "Exit" button ends the program execution. Important note: You must implement all the necessary ActionListener classes (inner classes) for the three buttons, and implement the necessary code to register the listener objects. 1904 Type Tiere to search ni
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
