Java Swing Look and Feel setLookAndTheme(LookAndFeel laf, Object theme)

Here you can find the source of setLookAndTheme(LookAndFeel laf, Object theme)

Description

set Look And Theme

License

Open Source License

Declaration

public static void setLookAndTheme(LookAndFeel laf, Object theme)
            throws UnsupportedLookAndFeelException 

Method Source Code

//package com.java2s;

import javax.swing.LookAndFeel;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

public class Main {
    public static void setLookAndTheme(LookAndFeel laf, Object theme)
            throws UnsupportedLookAndFeelException {
        UIManager.setLookAndFeel(laf);
    }/* www .j  a va  2s .c  o m*/
}

Related

  1. setLookAndFeel(String laf)
  2. setLookAndFeel(String lafName)
  3. setLookAndFeel(String look)
  4. setLookAndFeel(String lookAndFeelClass)
  5. setLookAndFeelByName(final String lookAndFeel)
  6. setMetalLAF()
  7. setMotifLookAndFeel()
  8. setMotifLookAndFeel()
  9. setMotifLookAndFeel()