• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

NX: URLyBird 1.3.3 -- Problem on User Interface Layout

 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
author and jackaroo
Posts: 12200
280
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
I can't take it! You are too smart for me! Here is the tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic