" 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
Joined: May 31, 2000
Posts: 32
posted
0
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).]
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
Joined: Feb 13, 2001
Posts: 48
posted
0
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
Rainer<br />SCJP, SCJD, SCWCD
kamal kant
Greenhorn
Joined: Apr 01, 2001
Posts: 5
posted
0
Your idea about sesion management is really excellent, brilliant, terrafic. Thanks. I will definately think about this schema.