Java tutorial
//package com.java2s; import java.awt.Component; import javax.swing.SwingUtilities; import javax.swing.UIManager; public class Main { public static void lookLinux(Component comp) { UIManager.LookAndFeelInfo[] looks = UIManager.getInstalledLookAndFeels(); for (UIManager.LookAndFeelInfo look : looks) { if (look.getClassName().matches("(?i).*linux.*")) { try { UIManager.setLookAndFeel(look.getClassName()); SwingUtilities.updateComponentTreeUI(comp); return; } catch (Exception e) { e.printStackTrace(); } } } } }