Home
Categories
Dictionnary
Download
Project Details
Changes Log
FAQ
License

Look and Feel


It is possible to specify explictly the Look and Feel to use for the XUL components created by the ScriptManager by using the AbstractScriptManager.setLookAndFeel(String) method.

The following values for the name argument will create default Look and Feels:
  • "windows": The windows Look and Feel
  • "gtk": The GTK Look and Feel
  • "platform": The default platform Look and Feel
  • "metal": The Swing Metal Look and Feel
  • "nimbus": The Swing Nimbus Look and Feel
For all other names, the ScriptManager will try to create the Look and Feel using the name as the Loo, and Feel class name. For example:

      DefaultScriptManager manager = new DefaultScriptManager();
      manager.setLookAndFeel("org.pushingpixels.substance.api.SubstanceLookAndFeel");      

See also


Categories: general

Copyright 2008-2020 Herve Girod. All Rights Reserved. Documentation and source under the LGPL licence