Here you can find the source of init()
public static final void init()
//package com.java2s; /**// www .ja v a2 s. c o m * Copyright? 2014-2016 LIST (Luxembourg Institute of Science and Technology), all right reserved. * Authorship : Olivier PARISOT, Yoanne DIDRY * Licensed under GNU General Public License version 3 */ import javax.swing.*; import com.sun.java.swing.plaf.windows.WindowsLookAndFeel; public class Main { public static final void init() { JFrame.setDefaultLookAndFeelDecorated(true); JDialog.setDefaultLookAndFeelDecorated(true); //SubstanceLookAndFeel.setSkin(new ModerateSkin()); try { UIManager.setLookAndFeel(new WindowsLookAndFeel()); } catch (Exception e) { e.printStackTrace(); } } }