Here you can find the source of metalLookAndFeel()
public static void metalLookAndFeel()
//package com.java2s; //License from project: Apache License import javax.swing.*; public class Main { public static void metalLookAndFeel() { try {/*from w ww. j a v a 2s. c o m*/ UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel"); } catch (ClassNotFoundException e) { throw new UnsupportedOperationException("Fix This"); // TODO } catch (InstantiationException e) { throw new UnsupportedOperationException("Fix This"); // TODO } catch (IllegalAccessException e) { throw new UnsupportedOperationException("Fix This"); // TODO } catch (UnsupportedLookAndFeelException e) { throw new UnsupportedOperationException("Fix This"); // TODO } } }