Displaying images as a grid or a list
Hii
I am working on an application where i need to display images from a folder selected by an user.All the images present in the folder should be displayed.I would like to know how to display them like a scrollable one in picasa , where we get the images at the bottom or like a grid.
Please provide any sample codes to implement this .Any l开发者_JAVA技巧inks demonstrating the same are highly appreciated.
Thank You
See How to Use a JList. You can display them horizontally, vertically or in a grid.
精彩评论