• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question about SCJD

 
Yanxin Zhao
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think my program have a big mistake that When the user configrated the db path or server IP, the new configration will be effective when the user restart the program. In other words, user have to restart the program, if the user want the new configration effective. So I want to ask, does which mistake is a fatal mistake?
 
mike acre
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, as soon as you start offering property editing during the run of the application, it opens up a can of worms that I'm hoping you don't need to open.
If you just present your properties dialog at the start-up then you avoid this problem.
 
peter wooster
Ranch Hand
Posts: 1033
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Yanxin Zhao:
I think my program have a big mistake that When the user configrated the db path or server IP, the new configration will be effective when the user restart the program. In other words, user have to restart the program, if the user want the new configration effective. So I want to ask, does which mistake is a fatal mistake?


Normal property editing features include:
- applying new properties without saving them
- saving the properties from a menu item in the File menu
- loading properties from a menu item in the File menu
- prompting the user at shutdown to save unsaved properties

You could avoid these by always applying modified properties immediately and always saving them if the program gets access to the database using the new properties. You would need to document this in the users guide and the design decisions.
 
Yanxin Zhao
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi : thanks for your reply.
I do not think my mistake is a fatal mistake. as my instruction only mentioned that the configration must be done via GUI. it did not mentioned what I should or must do any thing else. is not it?
 
Hanna Habashy
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yanxin,
I do not think my mistake is a fatal mistake. as my instruction only mentioned that the configration must be done via GUI. it did not mentioned what I should or must do any thing else. is not it?

You are right, however, think about it. Is it a user friendly? Do you like to use a software that after asking you for configuration must be restarted?
Don't take the risk. If the examiner doesn't like it, you will pay the price. Invest few more hours to solve your problem, rather than taking the chance of a big penalty.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic