1 package org.columba.core.gui.themes.plugin; 2 3 import javax.swing.UIManager ; 4 import javax.swing.UnsupportedLookAndFeelException ; 5 6 public class SystemLookAndFeelPlugin extends AbstractThemePlugin { 7 8 @Override  9 public void setLookAndFeel() throws Exception { 10 try { 11 UIManager.setLookAndFeel( 12 UIManager.getSystemLookAndFeelClassName()); 13 } catch (UnsupportedLookAndFeelException ex) { 14 System.out.println("Unable to load native look and feel"); 15 } 16 } 17 18 } 19 | Popular Tags |