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

NX: URLyBird 1.3.3 -- Problem on User Interface Layout

 
kwwong wong
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to design my screen layout and I'm having confuse about the requirements of the user interface.
1. When I startup the client application, I will provide the GUI(Dialog box) for setting the server name and location of the data file. Should I also provide the GUI for server startup ?
2. The requirement states that it must allow user to search the data for all record by name and/or location. It must allow the user to book a selected record, updating the database file accordingly. Is it means that I do not provide the delete and create function in the screen layout?
So that my screen layout will only has the Jtable to display the search results, two text field for name and location for searching criteria, a search button and the book button for update the owner of the record. That all. Is it enough ?
3. Is only the owner field in JTable is editable ? Other fields cannot be edited and only owner field can update.
Thanks
[ July 22, 2003: Message edited by: kwwong wong ]
 
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 kwwong
Should I also provide the GUI for server startup ?

I disagree with a gui for the server on general principals, but I think for the Sun assignments it could be OK.
You probably want some clean way of shutting down the server, and having a gui for the server allows you to have a button the user can press to shut it down. An alternate option is catching the Control-C.
Also, if you want the person starting the server to be able to specify a location for the database, then you are probably going to need a GUI. If you are just going to assume that it is the same directory as your runme.jar file though, you may not need it.
Is it means that I do not provide the delete and create function in the screen layout?

That is how I interpret the instructions.
You do have to provide create and delete functions in your Data class, but you do not have to use them in your client application. They are there for future functionality / other applications.
So that my screen layout will only has....

Sounds about right.
Some people found that Sun preferred drop down lists for searching for records in the Fly By Night Services assignment. You will have to decide if this is appropriate for UrlyBird - will the list of hotel names / locations be too long if they were put in drop down lists?
Is only the owner field in JTable is editable ? Other fields cannot be edited and only owner field can update.

Correct.
You might want to think about whether you allow already booked rooms to be changed.
Regards, Andrew
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic