JFrame ImageIcon withTitle

May 1 2013 1:46 AM
I am working with J Fame .I set Image Icon to the Title of J Frame using below code
      setIcon(Toolkit.getDefaultToolkit().getImage(getClass().getClassLoader().getResource("folder/Untitled-6.JPG")));
but when I convert it to jar file it does not show image and output.
anyone help me.
Thanks in advance.