LOOKANDFEEL
Jump to navigation
Jump to search
Sets the system Look & Feel for all new Swing components and sets
the default theme for NeXtMidas graphics. <LAF> The name of the new Look & Feel to use. Sets the Look And Feel that Java will use when creating new Swing components. Most users will prefer to use the graphical pluggable look-and-feel (PLAF) chooser (LookAndFeel/GUI) to try out new Look and Feels. Note that some of the Java Look and Feel options are platform specific (e.g. "Windows" only works on windows) or are only available in newer versions of Java (e.g. "GTK+" was added to Java 5). Setting the Look and Feel to an invalid option will cause an error. If you need a platform independent Look and Feel, it is suggested that you default to one of the following:Java,Gear1,Gear2,Gear3,Gear4,GoB,WoB,Bow,Browser Examples 1. Set the look and feel to... - "CDE/Motif" (matches CDE): nM> LookAndFeel "CDE/Motif" - "Java" (the default Java L&F): nM> LookAndFeel "Java" - "Gear3" (a NeXtMidas theme): nM> LookAndFeel "Gear3" 2. Get a list of available (but not necessarily supported) look and feels: nM> LookAndFeel 3. Use the GUI look and feel chooser: nM> LookAndFeel/GUI Command Switches /GUI - Use the graphical PLAF chooser. See Also: nxm.sys.libg.Theme