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


Win a copy of Head First Android this week in the Android forum!
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: 252
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?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Class design for GUI program
 
It's not a secret anymore!