title: How to make drawn images transparent in Java
body: <p>I got the animation to work in my Snake Clone Game. But the problem based on the picture is that the images do not have transparency(notice the white background of the circle pictures. Programming-wise, is there a fix to be able to include transparency to these drawn images?</p>
  
  <p>Here's a picture containing my code and the output of the program.</p>
  
  <p><img src="https://i.stack.imgur.com/8gQIu.png" alt="enter image description here"></p>
  
  <p>P.S. On a side note, I decided to paste the direct link instead of the IMG code because I cannot seem to get it to display on StackOverFlow. I put an exclamation point in the front of the IMG code but it did not work so here's the direct link.</p>