title: Adding action listener to Image
body: <pre><code>Image img= Toolkit.getDefaultToolkit().getImage("icon.png");
  g.drawImage(img,(int)x,(int)y,disp);
  </code></pre>
  
  <p>I want to add action listener to this image and handle the events occurred . How can i do it?</p>