Blog

How do you set transparency in Java?


How do you set transparency in Java? You set a transparency by creating an AlphaComposite object and then passing the AlphaComposite object to the setComposite method of the Graphics2D object.…