CSE1322 – Java Lab6B – File I/O

$30.00

Category: You will Instantly receive a download link for .zip solution file upon Payment

Description

5/5 - (6 votes)

Lab 6B: File I/O

Objectives

To write a program applying the concepts of file input /output.

Problem Statement

Write an application that implements a simple text editor.  Use a text field and a button to get the file.  Read the entire file as characters and display it in a TextArea.  The user will then be able to make changes in the text area.  Use a Save button to get the contents of the text area and write that over the text in the original file.

Hint: Read each line from the file and then display the line in the text area using a method, maybe called appendText(aString).  A method, maybe called getText, will return all of the text area in a string that then can be written to the file.

 

What to Turn In

Please include the text files you used for your program in your submission so the instructor can run the program easily. 

 

Follow submission guidelines on this page: http://ccse.kennesaw.edu/fye/Submission%20Guidelines.php