Solved

How do you open a picture in Java?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java asynchronous logging 4 50
eclipse shortcuts 9 45
diffSum example 4 23
MySqlDump not dumping triggers 1 15
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
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 …
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

911 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