Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Booking Seats

 
Brian Blignaut
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
For booking seats I display a dialog which allows the user to enter the flight number of the flight they wish to book the seats on and the number of
seats they wish to book, is this acceptable, anyone
else have a different approach
Thanks
Brian
 
John Smith
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

For booking seats I display a dialog which allows the user to enter the flight number

Perhaps a more intuitive way to indicate the flight number is simply to highlight a row in the table.
Eugene.
 
Brian Blignaut
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, thought as much
 
Qusay Jaafar
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By the way, what did you use to exit the Booking Dialog if the user don't want to book?
Tool bar?, Button("Exit")? or just click Close button at Top Right corner of the Dialog??? :roll:
 
Brian Blignaut
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use a cancel button. I have however now changed my design/. To book a flight the user simply double clicks on the entry they wish to book seats on.
 
Burk Hufnagel
Ranch Hand
Posts: 814
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Brian Blignaut:
I use a cancel button. I have however now changed my design/. To book a flight the user simply double clicks on the entry they wish to book seats on.

Hmm.. What happens if the user doesn't have a mouse? Can they still navigate your user interface?
 
Qusay Jaafar
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my desing, I create a Toolbar with File Menu contains Exit MenuItem only. This way the user can use the mouse or the Keyboard to use it. By the way, it is possible to use the keyboard by using cancel button but with more code.
What do you think? Which one is simpler? Toolbar or Cancel Button??? :roll:
 
Brian Blignaut
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the cancel button is easier, but that's just me, allows the user to tab to the button
 
Qusay Jaafar
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
easy to use tab? might be you alright, but using Toolbar prevent the user from exit Booking Dialog by accident
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic