Write a complete Java GUI application that has input controls for input file name and outp

Price: $40 USD

Question description

1. Write a complete Java GUI application that has input controls for input file name and output file name, an output control for number of rows processed, an output control for any error messages, and a read file and an exit button. 2. When the user clicks the read file button your application should read the specified input file, copy the contents to the specified output file, and count the number of rows processed to display, displaying any error messages as appropriate. 3. Organize the application as follows: a. A class with the main() method that will instantiate the UI screen class, invoke a method in that class to perform the processing, and set the screen to visible. b. A class that extends the JFrame class that provides the UI described above. c. A class that implements the ActionListener interface and invokes appropriate processing based on the button that was clicked (process file or exit the application). This class needs to determine the action, retrieve input controls, and convert them to appropriate data type. d. A class that actually reads the input text file and makes a copy to the specified output text file. This class should have instance variables for the input file name, the output file name, the number of rows processed and for an error message. In addition to the getter and setter methods associated with the instance variables it should have a method to perform the processing.

Tutor Answer

(Top Tutor) Daniel C.
School: Boston College
Studypool has helped 1,244,100 students
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1823 tutors are online

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors