Package org.jdesktop.swingx.painter

Examples of org.jdesktop.swingx.painter.CompoundPainter


        stripes.setPaint(new Color(1.0f, 1.0f, 1.0f, 0.17f));
        stripes.setSpacing(5.0);

        MattePainter matte = new MattePainter(new Color(02, 98, 35));

        header.setBackgroundPainter(new CompoundPainter(matte, stripes, gloss));
    }
View Full Code Here


      MattePainter mp = new MattePainter(col);
      OurGlossPainter gp = new OurGlossPainter(Colors.White.alpha(0.3f),
              OurGlossPainter.GlossPosition.TOP);
      /*PinstripePainter pp = new PinstripePainter(Colors.Gray.alpha(0.2f),
              45d);*/
      return (new CompoundPainter(mp, gp));
   }
View Full Code Here

TOP

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

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.