cn u plz tel me the java code..
to display image as soon as it is selected...??
please... :pretty:

commented: Learn how to write English, not cryptic txt/kiddie speak. Oh, and try to look like less of a sponge looking for free work, show effort. -3

you need to be more specific about what you are looking for, otherwise nobody can help you.

If you are talking about building an image viewer, where you select a filename/image and you want some other component to display the image. You should look into JList and JPanel API, attach a list listener and invoke the paint method of the viewer component.

an example here

yes im talking about building an image viewer, but i want it in for loop...
so cn u plz tel me how to do it...
rply as soon as possible...
m waiting...:X

commented: Ur pathetic. -1

anybody plz help me....
i want code fr image viewer...

yes im talking about building an image viewer, but i want it in for loop...
so cn u plz tel me how to do it...
rply as soon as possible...
m waiting...:X

anybody plz help me....
i want code fr image viewer...

You bee already given example. What is wrong with it? Secondly if you cannot add for loop in that existing code I doubt you will be able to customize any code we show you. So sort your ideas and priorities and do not forget to read this rule We only give homework help to those who show effort