Java Swing Look and Feel nativeLook()

Here you can find the source of nativeLook()

Description

native Look

License

Open Source License

Declaration

public static boolean nativeLook() 

Method Source Code

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

import javax.swing.UIManager;

public class Main {
    public static boolean nativeLook() {
        try {//from  w w  w . j  a va2  s  .  c om
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
            return true;
        } catch (Exception ex) {
            return false;
        }
    }
}

Related

  1. listLookAndFeels()
  2. lookAndFeelDefault(String style)
  3. lookLikeSystem()
  4. matchLnf(LookAndFeel lookAndFeel, UIManager.LookAndFeelInfo lookAndFeelInfo)
  5. metalLookAndFeel()
  6. printInstalledLookAndFeel()
  7. printInstalledPLAFs()
  8. setBestLookAndFeelAvailable()
  9. setCoolLookAndFeel()