-2

Hi My reqvirements are as below
Input is the address of a folder containing images
Output should be a jframe displying first image in a folder when i scroll mouse or press right arrow key then next image should be displayed Similary when i scroll back or press left key the previous omage should be diplayed on jframe

Edited by pyTony: Post to correct forum when it exists (Java)

3
Contributors
2
Replies
3
Views
5 Years
Discussion Span
Last Post by JamesCherrill
0

what's the specific problem that you need help with?

Input is the address of a folder containing images

read either of these
http://docs.oracle.com/javase/tutorial/2d/images/loadimage.html
http://www.particle.kth.se/~lindsey/JavaCourse/Book/Part1/Java/Chapter06/images.html

Output should be a jframe displying first image in a folder when i scroll mouse or press right arrow key then next image should be displayed Similary when i scroll back or press left key the previous omage should be diplayed on jframe

read the mouselistener and mouse-Wheel listener class and tutorial from the oracle docs
http://docs.oracle.com/javase/tutorial/uiswing/events/mousewheellistener.html
http://docs.oracle.com/javase/tutorial/uiswing/events/mouselistener.html

0

The problem he needs help with is understanding DaniWeb rules. This is a duplicate post for us to do his homework that shows no effort.