//... //Red is not transparent g2.setComposite( AlphaComposite.getInstance( AlphaComposite.SRC_OVER,1.0f)); //... //Green is 90-percent transparent g2.setComposite( AlphaComposite.getInstance( AlphaComposite.SRC_OVER,0.1f)); //... //Blue is 90-percent transparent g2.setComposite( AlphaComposite.getInstance( AlphaComposite.SRC_OVER,0.1f)); Figure 13 |