Package org.jdesktop.swingx.painter

Examples of org.jdesktop.swingx.painter.CheckerboardPainter


        // <snip> JXTitledPanel configure title properties
        // Background Painter options
        Painter<?> baseFont =  (Painter<?>) UIManager.get("JXTitledPanel.titlePainter");
        model.addElement(new DisplayInfo<Painter<?>>("Default ", baseFont));
        model.addElement(new DisplayInfo<Painter<?>>("Checkerboard",
                new PainterUIResource<JComponent>(new CheckerboardPainter())));
        // PENDING JW: add more options - image, gradient, animated...
        // </snip>
        return model;
    }
View Full Code Here

TOP

Related Classes of org.jdesktop.swingx.painter.CheckerboardPainter

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.