Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

FBN gui

 
joey phillip
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • 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
 
Swapan Golla
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • 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).]
 
luis veron
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • 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
  • 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

}
 
R Bischof
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • 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
 
kamal kant
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your idea about sesion management is really excellent, brilliant, terrafic. Thanks. I will definately think about this schema.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic