Java Swing Look and Feel setDefaultLookAndFeel()

Here you can find the source of setDefaultLookAndFeel()

Description

Set the system default look and feel.

License

Open Source License

Declaration

public static void setDefaultLookAndFeel() 

Method Source Code

//package com.java2s;

import javax.swing.*;

public class Main {
    /**/*from   ww  w. j a  v a 2  s . co  m*/
     * Set the system default look and feel.
     * @see javax.swing.UIManager
     */
    public static void setDefaultLookAndFeel() {
        try {
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
        } catch (Exception e) {
        }
    }
}

Related

  1. nativeLook()
  2. printInstalledLookAndFeel()
  3. printInstalledPLAFs()
  4. setBestLookAndFeelAvailable()
  5. setCoolLookAndFeel()
  6. setDefaultLookandfeel()
  7. setJavaLookAndFeel()
  8. setJavaLookAndFeel()
  9. setJavaLookAndFeel()