Explore BrainMass

Java GUI Based WriteButton/ReadData Program

Design a GUI Based program with a WriteButton used to write data to a sequential data file. Then make another ReadData button to read data from the file created and display it in a JTable on the GUI.

The GUI form should have three text fields on the form for data entry. One of the fields should be numeric.

Solution Preview

Please find attached a solution ( that demonstrates the features you wanted in your program. Java version 1.7.0_21 was used during development ...

Solution Summary

Data read from the file is appended after the existing entries in the table. Solution also suggests what changes to make in the code, in case you want to start with an empty table each time you read data from the file.