Solved

How do you open a picture in Java?

Posted on 2012-12-31
5
329 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 16

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 500 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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
configure dependency in POM for new database 3 34
Problem to refer to value 8 63
by zero exception 10 54
What is the use of Forwarding Class in java 1 18
Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

808 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