Java Swing Look and Feel setJavaLookAndFeel()

Here you can find the source of setJavaLookAndFeel()

Description

set Java Look And Feel

License

Open Source License

Declaration

public static void setJavaLookAndFeel() 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import javax.swing.*;

public class Main {
    public static void setJavaLookAndFeel() {
        try {/*from  ww w. j a  va2 s  .  co  m*/
            UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
        } catch (Exception e) {
        }
    }
}

Related

  1. setCoolLookAndFeel()
  2. setDefaultLookAndFeel()
  3. setDefaultLookandfeel()
  4. setJavaLookAndFeel()
  5. setJavaLookAndFeel()
  6. setLaf()
  7. setLAF(final String lafName)
  8. setLAF(String className)
  9. setLAF(String LAFName)