• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Client Gui!

 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:
 
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic