by, 04-26-2012 at 08:40 PM (440 Views)
An abstract look and feel class is defined by Swing which present all central information to the implementation of look and feel, like description, name, whether look and feel is native or not, a hash table to store default values for different attributes of look and feel, like fonts and colors.
Every implementation of look and feel defines the LookAndFeel subclass. For instance, swing.plaf.motif.MotifLookAndFeel provides Swing along with important details for management of look & feel.
UIManager is basically API, which is used for access of look and feel data by the programs and components. UIManager is considered responsible to keept track that which classes of LookAndFeel are present, which of them are default and which one are installed.Access is also managed by UIManager, for current look & feel.