Java Swing UIManager setSystemUi()

Here you can find the source of setSystemUi()

Description

set System Ui

License

Open Source License

Declaration

public static void setSystemUi() 

Method Source Code

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

import javax.swing.UIManager;

public class Main {
    public static void setSystemUi() {
        try {//from  w w  w . ja  v a  2  s.c  o m
            UIManager.setLookAndFeel(UIManager
                    .getSystemLookAndFeelClassName());
        }

        catch (Exception e) {
            e.printStackTrace();
        }
    }
}

Related

  1. setEnabled(Component component, boolean enabled, boolean recursively)
  2. setNative()
  3. SetNetBeansCompatibleUIManager()
  4. setNimbusLF()
  5. setSwingProperties(String appName)
  6. setTheme()
  7. setupComponent(JComponent comp)
  8. setupUI()
  9. shouldUpdateStyle(PropertyChangeEvent event)