How do you open a picture in Java?

I have several pictures of a parson at various ages and would like to chronologically display them. What is the easiest way to do this in Java?
Who is Participating?
jmdl1983Connect With a Mentor Commented:
To change the file modified time, simply open the files and resave in the order you want them to displayin.


Age 1 - save date 1/1/13 12:00:01 pm
Age 2 - save date 1/1/13 12:00:02 pm
In java, or javascript on a webpage?
dwcroninAuthor Commented:
In Java. I suppose that the images will be JPEG
In all earnestness, you can arrange that the files - jpgs -  have date stamps reflective of their ages; then access them in chronological sequence using File.lastModified().
dwcroninAuthor Commented:
How do I give them a date stamp?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.