Package org.apache.pivot.wtk.effects

Examples of org.apache.pivot.wtk.effects.WatermarkDecorator


                    System.err.println(exception);
                }

                textArea.setDocument(document);

                final WatermarkDecorator watermarkDecorator = new WatermarkDecorator("Preview");
                watermarkDecorator.setOpacity(0.1f);
                watermarkDecorator.setFont(watermarkDecorator.getFont().deriveFont(Font.BOLD, 24));

                textArea.getDecorators().add(watermarkDecorator);
            }

            return Vote.APPROVE;
View Full Code Here

TOP

Related Classes of org.apache.pivot.wtk.effects.WatermarkDecorator

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.