Skip to main content

How to set path in Swing to pick the image?

No replies
Joined: 2013-10-25
Points: 0

I am new with java swing. And i am trying to put an image on jFrame. It works but i have to give the path of the image by coding it. Is there something to take image path automatically?