Using a model to represent the overall state of a view
- by James P.
Is there a standard practise for representing the state of a user interface that is not linked to a single Component?
For example, a Swing interface could have a series of tabs with a constraint that a single tab should only be displayed once per a given entity type (this could be represented as a HashSet). Or a message could give the result of the last operation carried out. Or a JPanel could be linked to a single entity instance for editing purposes.