Using a model to represent the overall state of a view

Posted by James P. on Stack Overflow See other posts from Stack Overflow or by James P.
Published on 2011-02-26T00:56:09Z Indexed on 2011/02/27 15:24 UTC
Read the original article Hit count: 172

Filed under:
|
|
|

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.

© Stack Overflow or respective owner

Related posts about java

Related posts about swing