Here you can find the source of setWindowsLook()
public static void setWindowsLook()
//package com.java2s; //License from project: Open Source License import javax.swing.*; public class Main { /**// w w w.ja v a2s .c om * Changes look-and-feel to Windows look */ public static void setWindowsLook() { try { UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel"); } catch (Exception e) { throw new RuntimeException("Change of look&feel failed.", e); } } }