title: Convert drawings in instructions for Java Swing paintComponent
body: <p>Would you know a software able to convert simple drawings (done with simple instructions that can be found in paintComponent like fillRectangle, drawLine... etc) into Java instructions?</p>
  
  <p>I ask this question because I'm programming a Pacman game, and i wanted to be able to randomly generate ghosts, with random color, and shapes.</p>
  
  <p>Thank you. </p>