title: How to fade-in / fade-out a Java Graphics?
body: <p>Say if I have a Java Graphics object, and I want to draw a line or a rectangle on it. When I issue the command to draw, it appears on screen immediately. I just wonder how could I make this progress as a fade-in / fade-out effect, same as what you can achieve in Javascript.</p>
  
  <p>Any thoughts? </p>
  
  <p>Many thanks for the help and suggestions in advance!</p>