Java Swing Look and Feel setNativeLookAndFeel()

Here you can find the source of setNativeLookAndFeel()

Description

Sets the look and feel to the system's look and feel.

License

Apache License

Declaration

public static void setNativeLookAndFeel() 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import javax.swing.UIManager;

public class Main {
    /**//from  ww  w .  j  ava 2  s . co m
     * Sets the look and feel to the system's look and feel.
     **/
    public static void setNativeLookAndFeel() {
        try {
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
        } catch (Exception ex) {
        }
    }
}

Related

  1. setMetalLAF()
  2. setMotifLookAndFeel()
  3. setMotifLookAndFeel()
  4. setMotifLookAndFeel()
  5. setNativeLookAndFeel()
  6. setNiceSwingLookAndFeel()
  7. setNimbusLookAndFeel()
  8. setNimbusLookAndFeel()
  9. setSOMToolboxLookAndFeel()