By Alvin Alexander. Last updated: June 4, 2016
Java Swing FAQ: How do I set my Java look and feel to the "metal" look and feel?
To set your Java / Swing application to use the metal look and feel, first import the necessary classes:
import javax.swing.UIManager; import javax.swing.plaf.metal.MetalLookAndFeel;
Then put this in your code:
UIManager.setLookAndFeel( new MetalLookAndFeel() );