Write a Javafx program that allows the user to edit ,open, exit, 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 original file. and exit You will need to get the user response from the alert so that if user choose OK then the system is closed and cencel to do not close
Write a Javafx program that allows the user to edit ,open, exit, 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 original file. and exit You will need to get the user response from the alert so that if user choose OK then the system is closed and cencel to do not close
Trending now
This is a popular solution!
Step by step
Solved in 2 steps