Avatar of dwcronin
dwcronin
Flag for United States of America asked on

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?
JavaProgramming Languages-Other

Avatar of undefined
Last Comment
jmdl1983

8/22/2022 - Mon
jmdl1983

In java, or javascript on a webpage?
dwcronin

ASKER
In Java. I suppose that the images will be JPEG
krakatoa

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().
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
dwcronin

ASKER
How do I give them a date stamp?
ASKER CERTIFIED SOLUTION
jmdl1983

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.