aspose file tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes FBN  gui Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Developer Certification (SCJD/OCMJD)
Reply Bookmark "FBN  gui" Watch "FBN  gui" New topic
Author

FBN gui

joey phillip
Ranch Hand

Joined: Jan 22, 2001
Posts: 40
" 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
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

Joined: Mar 07, 2001
Posts: 35
try this too:
http://www.javaworld.com/javaworld/jw-04-2000/jw-0414-action.html
Good luck
joey phillip
Ranch Hand

Joined: Jan 22, 2001
Posts: 40
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

Joined: Feb 13, 2001
Posts: 48
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
Your idea about sesion management is really excellent, brilliant, terrafic. Thanks. I will definately think about this schema.
 
 
subject: FBN gui
 
Threads others viewed
NX: future functionality enhancements?
Default Properties
What do they mean????
Seperating GUI from implementation
JMenuItems
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture