Java Reference
In-Depth Information
4.7 Take a copy of the above program, rename it
ReadFile.java
and modify the code
to make use of a
JFileChooser
object that allows a fi le to be selected for reading.
Use the
JFileChooser
object to read from the fi le created above and get your
program to use method
getSurname
of class
Personnel
to display the surnames
of all the staff whose details were saved.
Search WWH ::
Custom Search