DISPLAY PICTURE FILES - swt

I want to display many picture (gif, jpg) in a window with their names (all to be shrink to the same size). i also want to be able to select one of the pictures (just one at a time). how can I do it?

(p.s- the problem is with the way to display them, no to laod from the Hard Disc...meaning i have a list of picture file, now how to display them?)

note that I'm working with SWT on ECLIPSE.

thanks.

[425 byte] By [NMBa] at [2007-10-3 4:09:31]
# 1

Hi,

I found a lot of solutions on how to make a thumbnails from pictures. Just try to search by google something like "thumbnail java", in your case maybe with swt. I'm quite sure that after some research you will find a piece of code that can help you with this.

http://www.java2s.com/Code/Java/Swing-JFC/showthumbnailsofgraphicfiles.htm

http://forum.java.sun.com/thread.jspa?threadID=758315

Especially this page looks quite good (Thumbnails and Icons Display part):

https://jaistuff.dev.java.net/display.html

L.P.

lukika at 2007-7-14 22:09:36 > top of Java-index,Java Essentials,Java Programming...
# 2
Quit multi-posting questions.The least you can do is provide a link for your old posting to the new one so the discussion is contained in a single thread and everybody knows what has been suggested.
camickra at 2007-7-14 22:09:36 > top of Java-index,Java Essentials,Java Programming...
# 3
Please don't crosspost!!! I just answered your question on your other topic.
pkwoostera at 2007-7-14 22:09:36 > top of Java-index,Java Essentials,Java Programming...