Fade « Icon Image « Java Swing Q&A





1. How do I fade an image in swing?    stackoverflow.com

I've got class which inherits from JPanel with an image on it and i want to set up a little animation to display the panel/image and then fade it out when ...

2. How to fade an image?    coderanch.com

When a user prints from my application, I want to use one of my images as a watermark on the printed page. To do this, I need to fade the image (i.e., make the colours less bold). Does anyone know how I can do this (Java 1.1)?? Any sample code would go down well! Cheers, James