Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

question for client

 
Jofer Chan
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My assignment is Bodgitt and Scarper(2.2.2),
In the client ,what are function must provide?
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12014
220
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jofer,
Please check your instructions. There should be a section titled "The User Interface". That section details what functionality your GUI must provide to the user.
Regards, Andrew
 
Jofer Chan
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,Andrew:
Thank your Reply.
the client require menu?
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12014
220
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jofer,
I have heard of a person who failed because they did not have any menus (and a few other issues with his GUI).
Note: It is well worth reading that post to see Kathy's comments about the GUI
The old assignment had the following as a sub section of how the points were allocated for the User GUI: "layout uses good/accepted Human/Computer Interaction (HCI) principles". Although the new assignment does not break down the points for the major sections, I would not be surprised to find that the same rules apply.
Sun's Java Look and Feel Design Guidelines give some ideas of components that can be used and what users expect from them.
Regards, Andrew
[ October 22, 2003: Message edited by: Andrew Monkhouse ]
 
Bharat Ruparel
Ranch Hand
Posts: 493
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Andrew,
Good thing that I go through the posts on the forum. You wrote:

I have heard of a person who failed because they did not have any menus (and a few other issues with his GUI).

Sure enough, I didn't have the confirmation dialog box when the user clicks on the quit option in the file menu or the close icon on the window. I have implemented that. That brought up another question. When I exit the application in either of the aforementioned scenarios, I execute a System.exit(-1). Should it be System.exit(0) to stay with the convention established by Sun and stated in JavaDocs that 0 indicates normal completion? I picked up System.exit(-1) from Max's book. I know you kept urging me not to blindly follow his book but think about what I am doing. This is one of the places I overlooked in my work.
Thanks and regards.
Bharat
p.s. Are there any other threads that you are aware of which point out some of the things omitting which could be a problem in the submission? It helps to have a case which you can use to compare your work against.
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Should it be System.exit(0)
I'd say yes - the user exiting is the normal way to exit an applications, right? USe the convention specified in the guidelines. In most cases it probably doesn't matter - there's no indication that anyone is planning to look at the exit codes anyway. In fact the silly requirement that even the server must have a GUI to configure properties means that you can't really run the GUI from a script, and that's the main context where exit codes might be useful. Still, you might as well use the standard exit code convention; no reason not to.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic