• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

"the program must allow the user to specify the location of the database"

 
James Clarke
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

The specifications state "the program must allow the user to specify the location of the database". I have simply provided a text field in the GUI in which the user should enter the location of the db file at startup.
It occurred to me that I *could* provide a browsing option through which the user can browse through directories and select the db file.

Would I loose marks for not providing the browsing ability??

I have already added some additional features such as logging so would prefer not spending time on this!

thanks in advance,

James
 
Roberto Perillo
Bartender
Posts: 2271
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy.

Would I loose marks for not providing the browsing ability??


No. I mean, as long as you let the user inform where is the database, it's ok. What most of the people around here are doing (and I did) is, when the application starts, a GUI is shown, with text fields that are related to the option provided in the command line (for example, in the standalone mode, the user informs where the database is in a text field). This information has to be persisted/retrieved from the suncertify.properties file. After that, the main application window is displayed.
 
James Clarke
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yep, thats what I did as well and its done. It occurred to me yesterday that a good GUI should enable the user to browse the directories, so maybe I will lose marks for not providing this??

Im sticking with what I have for now!

cheers

J.C
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic