• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

FBN gui

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
" your user interface should be designed with the expectation of future functionality enhancements, and it should establish a control scheme that will support this with minimal disruption to the user when this occurs"
- I have implemented a Single FBNClient class and all my GUI related code is in this class.
- Do i need to follow any specific design pattern. Is there any examples, links for these design patterns.

joey
 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Refer this article for command patterns as it will help you seperate the application logic from gui code.

<url>http://www.javaworld.com/javaworld/javatips/jw-javatip68.html</url>;
Swapan.
[This message has been edited by Swapan Golla (edited March 23, 2001).]
 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
try this too:
http://www.javaworld.com/javaworld/jw-04-2000/jw-0414-action.html
Good luck
 
joey phillip
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to use command pattern to seperate application logic from gui. I have implemented seperate classes for booking and search as explained in http://www.javaworld.com/javaworld/javatips/jw-javatip68.html.

my actionPerformed event looks like this.

public void actionPerformed(ActionEvent e) {
SearchCommand search=new SearchCommand(Dataclient d,String searchCriteria,MyTableModel model);
search.performSearch();
}
I am passing MyTableModel also because to update the JTable after every search. Is there a way to avoid passing MyTableModel and make the the SearchCommand Class independent? How do guys handle this situation
-joey

}
 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by joey phillip:
[B] " your user interface should be designed with the expectation of future functionality enhancements, and it should establish a control scheme that will support this with minimal disruption to the user when this occurs"

I am still confused about that part of the assignment. A pattern (command / action / whatever) does not help here, because they are not talking about the technical integration of new features but about the GUI integration:
"...establish a control scheme that will support this with minimal disruption to the user..."
The FBN user, not the developer ;-(
So: What do they really mean with this requirement???
Thanks
Rainer

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your idea about sesion management is really excellent, brilliant, terrafic. Thanks. I will definately think about this schema.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic