csli.util.swing
Class LookAndFeelUtils

java.lang.Object
  extended by csli.util.swing.LookAndFeelUtils

public class LookAndFeelUtils
extends Object

Author:
alexgru

Constructor Summary
LookAndFeelUtils()
           
 
Method Summary
static JMenu createLookAndFeelMenu(JFrame frame)
          Creates a menu which contains various look and feel options, when the user chooses one, the look and feel the passed in frame is changed
static void setCrossPlatformLookAndFeel()
           
static void setLookAndFeel(String name)
           
static void setSystemLookAndFeel()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookAndFeelUtils

public LookAndFeelUtils()
Method Detail

setLookAndFeel

public static void setLookAndFeel(String name)

createLookAndFeelMenu

public static JMenu createLookAndFeelMenu(JFrame frame)
Creates a menu which contains various look and feel options, when the user chooses one, the look and feel the passed in frame is changed

Parameters:
frame - The frame where the look and feel should be changed

setSystemLookAndFeel

public static void setSystemLookAndFeel()

setCrossPlatformLookAndFeel

public static void setCrossPlatformLookAndFeel()