An Editable Table of Doubles backed by a RandomAccessFile
Your task is to implement a program, that reads in from a binary file "spreadsheet.bin" two int values numberOfRows and numberOfColumns, plus numberOfRows*numberOfColumns double values, and displays all values using a JTable (of dimensions numberOfRows by numberOfColumns) where all entries are defined to be Doubles. Simply use "col1" up to "colN" as column headings for your table. Hardwire the fileName "spreadsheet.bin". Make sure only Doubles will be accepted when editing any cell. Whenever a cell entry is modified, the respective entry in RandomAccessFile must be immediately updated as well.
Here are a few hints: