private void setupPainters() { //Tom doesnt like the gloss :) // GlossPainter gloss = new GlossPainter(new Color(1.0f, 1.0f, 1.0f, 0.2f), // GlossPainter.GlossPosition.TOP); PinstripePainter stripes = new PinstripePainter(); stripes.setPaint(new Color(1.0f, 1.0f, 1.0f, 0.17f)); stripes.setSpacing(5.0); MattePainter matte = new MattePainter(COLOR_BASE); setBackgroundPainter(new CompoundPainter(matte, stripes)); }
stripes.setPaint(new Color(1.0f, 1.0f, 1.0f, 0.17f)); stripes.setSpacing(5.0);