Question
NEED ANSWER ASAP Q) Write a Java program that allows the user to open, edit, and save a text file. For this design a GUI
NEED ANSWER ASAP
Q) Write a Java program that allows the user to open, edit, and save a text file. For this design a GUI having a text area and a menu on top with name File. The File menu should have three options including, Open, Save, and Exit. On choosing the Open option, the program allows to the user to browse through his computer to select a text file. The selected text file shall be opened in the text area. Then user can make required changes in the file and then on selecting Save option from File menu, the program shall write the contents back to the originalfile.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started