title: How to set Icon to JFrame
body: <p>I tried this way, but it didnt changed?</p>
  
  <pre><code>ImageIcon icon = new ImageIcon("C:\\Documents and Settings\\Desktop\\favicon(1).ico");
  frame.setIconImage(icon.getImage());
  </code></pre>