Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How do you open a picture in Java?

Posted on 2012-12-31
5
Medium Priority
?
333 Views
Last Modified: 2013-01-01
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?
0
Comment
Question by:dwcronin
  • 2
  • 2
5 Comments
 
LVL 4

Expert Comment

by:jmdl1983
ID: 38733359
In java, or javascript on a webpage?
0
 

Author Comment

by:dwcronin
ID: 38733441
In Java. I suppose that the images will be JPEG
0
 
LVL 17

Expert Comment

by:krakatoa
ID: 38733806
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().
0
 

Author Comment

by:dwcronin
ID: 38734578
How do I give them a date stamp?
0
 
LVL 4

Accepted Solution

by:
jmdl1983 earned 2000 total points
ID: 38734663
To change the file modified time, simply open the files and resave in the order you want them to displayin.

IE..

Age 1 - save date 1/1/13 12:00:01 pm
Age 2 - save date 1/1/13 12:00:02 pm
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question