Here you can find the source of setSystemUi()
public static void setSystemUi()
//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(); } } }