Here you can find the source of setMotifLookAndFeel()
public static void setMotifLookAndFeel()
//package com.java2s; //License from project: Open Source License import javax.swing.*; public class Main { public static void setMotifLookAndFeel() { try {/*w ww. ja v a 2 s .c o m*/ UIManager.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel"); } catch (Exception e) { System.out.println("Error setting Motif LAF: " + e); } } }