Here you can find the source of setMotifLookAndFeel()
public static void setMotifLookAndFeel()
//package com.java2s; /**/*from ww w. java 2s . c o m*/ * <p> * This class contains useful methods for positioning, sizing, and manipulating JFrames and other * Window-like elements. * </p> * <p> * <span class="BSDLicense"> This software is distributed under the <a * href="http://hci.stanford.edu/research/copyright.txt">BSD License</a>. </span> * </p> * * @author <a href="http://graphics.stanford.edu/~ronyeh">Ron B Yeh</a> (ronyeh(AT)cs.stanford.edu) */ import javax.swing.UIManager; public class Main { /** * Old Skool Look and Feel. */ public static void setMotifLookAndFeel() { try { UIManager.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel"); } catch (Exception e) { System.out.println("Error setting Motif LAF: " + e); } } }