Package org.jvnet.substance.skin

Examples of org.jvnet.substance.skin.CremeCoffeeSkin


//                try {
                    SubstanceImageWatermark watermark = new SubstanceImageWatermark("GUI/res/ciaobellawm.jpg");
                //SubstanceCrosshatchWatermark watermark = new SubstanceCrosshatchWatermark();
                    watermark.setKind(ImageWatermarkKind.APP_TILE);         
                     watermark.setOpacity(0.8f);// 设置水印透明度         
                    SubstanceSkin skin = new CremeCoffeeSkin()
                            .withWatermark(watermark); // 初始化有水印的皮肤
                    SubstanceLookAndFeel.setSkin(skin); // 设置皮肤
//                } catch (FileNotFoundException ex) {
//                    Logger.getLogger(ventanaLogin.class.getName()).log(Level.SEVERE, null, ex);
//                }
View Full Code Here

TOP

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

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.