title: How can I edit a jpg image through Java?
body: <p>I have loaded a jpg image in which I want to draw letters and circles, given a x,y coordinate.</p>
  <p>I have been trying to figure out the paintIcon of the <a href="http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/ImageIcon.html" rel="noreferrer">ImageIcon</a> class</p>
  <pre><code>public void paintIcon(Component c,
                        Graphics g,
                        int x,
                        int y)
  </code></pre>
  <p>Does this method allow me to edit jpg images the way I want to? What are supposd to be the Component c and Graphics g paramethers? What would I add to its body to paint circles or letters?</p>
  <p>I'm working on Netbeans 6.5, do I have anything builtin for this task (instead of ImageIcon)?</p>