/** TODO . */ public static void setSkin() { JFrame.setDefaultLookAndFeelDecorated(true); JDialog.setDefaultLookAndFeelDecorated(true); UIManager.put(SHOW_EXTRA_WIDGETS, FALSE); UIManager.put(WATERMARK_VISIBLE, TRUE); UIManager.put(WINDOW_ROUNDED_CORNERS, FALSE); SubstanceLookAndFeel.setSkin(new InsubstantialColorSkin()); }
public static void setSubstanceLaF(SubstanceLookAndFeel laf) { JFrame.setDefaultLookAndFeelDecorated(true); JDialog.setDefaultLookAndFeelDecorated(true); UIManager.put(SHOW_EXTRA_WIDGETS, FALSE); UIManager.put(WATERMARK_VISIBLE, FALSE); UIManager.put(WINDOW_ROUNDED_CORNERS, FALSE); try { UIManager.setLookAndFeel(laf); } catch (Exception e) { e.printStackTrace(); } }