aspose file tools*
The moose likes OO, Patterns, UML and Refactoring and the fly likes Class design for GUI program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Class design for GUI program" Watch "Class design for GUI program" New topic
Author

Class design for GUI program

albert kao
Ranch Hand

Joined: Feb 04, 2010
Posts: 245
My Swing GUI program will display different screens depending on the value of the prop attribute (variable).
Some data (e.g. address) are common (present) for all screens and some data are unique for each screen.
How to design the class?
Should the "State design pattern" used to represent value of the prop attribute as state?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Class design for GUI program