• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Client Gui!

 
Vikas Sood
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI Friends ,
I am at the design stage of my gui for FBN assignment.Am thinking of having menu,toolbar,two comboboxes for origin and destination with preloaded origin and destinations values preread and made available to client.
Main view Area will have a Jtable ,blank to start with,and filled with resulting matching records when client runs a search.
Clicking o a row will pop up a dialog asking for the number of seats to be booked.
Client will wait till a response as a dialog is not displayed to him , indicating the result of the booking procedure.
Will be implementing MVC patter in my GUI design.
Am going right in my approach.
Kindly Comment
VikasSood :roll:
 
Mag Hoehme
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vikas,
your design looks ok to me. I had the same design (and passed; full score on GUI). However, as a kind of special effect I had an asynchronous booking confirmation. The reason: When you try running your app on two machines, you will find that even a LAN connection can be awfully slow. And it is even slower when it runs on the Internet. Therefore I found that it was better for the user if the GUI was not blocked and opted for the asynchronous confirmation.
Hope this helps.
 
Vikas Sood
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mag,
Did u have any other thing on the view side of ur client.And also how did u go about implementing assynchronous confirmations,can u suggest some approaches.
Thankx
VikasSood
 
Mag Hoehme
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vikas,
what do you mean by "view side"?
Asynchronous
The booking command in my client created a new thread that took care of the booking. When the booking was successful, the thread made the GUI popping up a dialog to inform the user, and then died.
Hope this helps.
 
Vikas Sood
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mag,
Thanks, what i meant from view side was,do we need any more controlls on the client GUI view,apart from the ones mentioned by me.
Did u implement on line help?
Which class was communicating with Data access classes ur controller or Model,am a bit confused regarding the implementation of MVC over here.Can u guide me some inputs?
VikasSood
 
Mag Hoehme
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vikas,
I had only three parties - GUI, DataAccess, and Data. GUI communicated with DataAccess, and DataAccess delegated to Data.
Hope this helps.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic