Package org.jvnet.substance.skin

Examples of org.jvnet.substance.skin.BusinessBlackSteelSkin


        JDialog.setDefaultLookAndFeelDecorated(true);
        SwingUtilities.invokeLater(new Runnable() {

            @Override
            public void run() {
                SubstanceLookAndFeel.setSkin(new BusinessBlackSteelSkin());
                view.getFrame().setUndecorated(true);
                view.getFrame().getRootPane().
                        getRootPane().setWindowDecorationStyle(JRootPane.FRAME);
                SwingUtilities.updateComponentTreeUI(view.getComponent());
                view.getFrame().setSize(new Dimension(853,726));
View Full Code Here


    public void setVisible(boolean b) {
        super.setVisible(b);
        SubstanceImageWatermark watermark = new SubstanceImageWatermark("GUI/res/login.jpg");
        watermark.setKind(SubstanceConstants.ImageWatermarkKind.APP_TILE);
        watermark.setOpacity(0.84f);// 设置水印透明度         
        SubstanceSkin skin = new BusinessBlackSteelSkin()//CremeCoffeeSkin()
                .withWatermark(watermark); // 初始化有水印的皮肤
        SubstanceLookAndFeel.setSkin(skin);
    }
View Full Code Here

TOP

Related Classes of org.jvnet.substance.skin.BusinessBlackSteelSkin

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.