A video of me developing a basic Java GUI program which reads a file and displays the contents in a textfield. See the "Question" below.
Source code here:
https://github.com/MooseValley/ArrayL...
Question:
3. Write a Java program using GUI that contains a text area and a command button titled as “Display”. When the “Display” button is clicked, the program has to read data from an existing data file named "staffphone.txt" and displays all the data in the text area properly. The data in the file "staffphone.txt" has the following format:
John Pearson, 49308877
Peter London, 49446701
Amy Andersen, 45009923
In addition to the data, the text area has to display the total number of the phone entries at the end.
Source code here:
https://github.com/MooseValley/ArrayL...
Moose's Software Valley - Established July, 1996.
https://rebrand.ly/MoosesSoftware