Compile and run this program.

It pops up an empty frame with a File menu.

Using the menu you can browse for a picture and select it.

The frame will show the picture selected.

Note: