Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Class design for GUI program

Status
Not open for further replies.

albertkao

Programmer
Feb 3, 2010
5
CA
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 the value of the prop attribute as state?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top