i have made one swing application and inserted icon image into it using netbeans ide.
when i open my class using netbeans than icon is displaying properly but opening by directly clicking an jar file it is not showing.
Maybe the location of the image file is wrong. We need more details, including the locations of the image in the NetBeans folders and in the .jar. And why are you not using Class#forName#getResource or similar?