Hi Guyz

I am making a Software for my friend
Gold Shop ...

Which Convert Units and Calculate Prices..

I want to make Jar file.. I made it by searching it on google
but it doesn't include images i used in project

BufferedImage image;
image = ImageIO.read(new File("C:/img/gold.png"));

.setIcon(new ImageIcon("C:/img/con1.png"));
.setIconImage(new ImageIcon("C:\\img\\go.png").getImage());

I am using these Statements to include images into my project

Can anyone tell me how to include images into jar?
means if i remove img folder from c drive it must load by itself.

i hope you understand what i am trying to say.

I am student of BS(CS) 3rd Semster...


Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.