Solved

How do you open a picture in Java?

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Navigation is an important part of web design from a usability perspective. But it is often a pain when it comes to a developer’s perspective. By navigation, it often means menuing. This is less theory and more practical of how to get a specific gro…
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 …
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now