I am finishing my assignment and possibly overthinking this so be placable
My assignment instruction says
All configuration must be done via a GUI, and must be persistent between runs of the program.
1. Do I have to store the properties even if user didn't start client or server? (They typed something in text fields but closed application without actually running client or server)
2. If so, do I have to save everything user types in a textfields even if it doesnt make any sense? Like "xxxxxx" as a port number? (I don't filter what an user can put into text field. I just validate after they click OK)
3. Should I store empties or other defaults for properties not relevant to the mode that was run? For example: an user runs network client mode. Should I store "" as a database file location?
I know that your answer will probably be that requirements don't state that so I can do whatever I want and justify this in choices.txt
Just wanted to know your opinion.