title: Adding image in JApplet
body: <pre><code>ImageIcon icon= new ImageIcon("a.gif");
  JLabel jLabel1=new JLabel(icon);
  jLabel1.setVisible(true);
  card1.add(jLabel1);
  </code></pre>
  
  <p>I am a newbie to Java and I am facing a problem to add image in a panel in applet.  My image is in the same folder.  My applet is visible without any problem but only image is not displayed.</p>