/** * Creates a new <code>Cerulean</code> look-and-feel. */ public SubstanceCeruleanLookAndFeel() { super(new CeruleanSkin()); } }
@Override public void run() { if (!noLaf) { SubstanceLookAndFeel.setSkin(new CeruleanSkin()); } JFrame frame = new UI(); frame.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE); frame.pack(); frame.setLocationRelativeTo(null); frame.setVisible(true); } });