Example: XML User Interface Configuration
   A developer merely defines and 'registers' swing actions, 
     and doesn't have to define or see menu items, buttons, etc.
   XML attributes are accessible to actions when invoked, 
     making all types of configurable processing very easy.
Previous     Next



All XML attributes defined in the configuration file for a menu item or button are made available to the swing action at the time it is invoked. With this, the configuration goes much further than merely controlling the appearance of the application. Examples of this used in the xt application are: