Java Swing UIManager systemLF()

Here you can find the source of systemLF()

Description

system LF

License

Open Source License

Declaration

public static void systemLF() 

Method Source Code


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

import javax.swing.*;

public class Main {
    public static void systemLF() {
        try {/* w  w w  .ja  va2  s  .c  o m*/
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
        } catch (InstantiationException e) {
            e.printStackTrace();
        } catch (IllegalAccessException e) {
            e.printStackTrace();
        } catch (UnsupportedLookAndFeelException e) {
            e.printStackTrace();
        }
    }
}

Related

  1. setupComponent(JComponent comp)
  2. setupUI()
  3. shouldUpdateStyle(PropertyChangeEvent event)
  4. showDirSelect()
  5. showToolTip(Component contents, int x, int y, final int dismissDelay, int initialDelay)
  6. traceSubstanceApiUsage(Component comp, String message)
  7. useLNF()
  8. useLnf(String lnfClassName)
  9. usingLnf(String lnfClass)