View RSS Feed

Java Swing

Look-and-feel management

Rate this Entry
by , 04-26-2012 at 07:40 PM (498 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.

Submit "Look-and-feel management" to Facebook Submit "Look-and-feel management" to Digg Submit "Look-and-feel management" to Submit "Look-and-feel management" to StumbleUpon Submit "Look-and-feel management" to Google