Im new to
java programming. I have set up a sudoku GUI. I have 81 JComboBoxes in a 9x9 array. The main GUI is a JFrame with 9 JPanels added to it. Each panel holds 9 instances of JComboBox, which are populated with the numbers 1-to-9.
Basically, I want to be able to input a sudoku puzzle and then save it. Then if I come back later I should be able to open it up from where it was saved.
This is probably simple, but it is confusing me. By using serialization can I read what Items have been selected and save it so that it will open up exactly the same later? Each ComboBox knows its coordinates.
I would also like to remove the itemlisteners from the comboboxes that have been inputed, so that these given sudoku values cannot be tampered with.
Any help or advice would be appreciated.