1. A method for describing a panel to be displayed in a plurality of display contexts within a user interface comprising: defining a panel description describing the functionality of the panel; defining a plurality of resource descriptions each describing the appearance of the panel; defining a mapping from each display context to one of the plurality of resource descriptions; and associating the mapping and the panel description.