That's exactly what I did except that I only let the user choose between non-networked and networked mode and in the latter case, the user must enter the server IP and port... I do not let the user browse for the DB file since the DB file name is frozen to "db.db"... But wait, it could well be that the user has several db.db files on his file system... Hmmmhm, maybe I should add that, too... wondering now
I'm taking the beta exam and the exam stated that local or remote mode should be specified when executing the runme.jar file. This is why I didn't implement this functionality in the configuration GUI.
The mode flag must be either "server", indicating the server program must run, "alone", indicating standalone mode, or left out entirely, in which case the network client and gui must run.
Also I don't plan to implement a browse button for selecting db.db because the database file, as stated in the requirements, must be in the root directory of the jar file. The only configurations I implemented in the configuration GUI is the port number, server url, and the name of the database.
I think the location of the db.db, suncertify.properties file, and other files is specified to make things easier for the graders to find. Also, this can hurt someone if they neglect the file seperator because there application will not be platform independent.
What do you guys think?