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?
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?