views:

28

answers:

1

I have a doubly linked list that's storing a bufferedimage in each node. I can easily retrieve all the buffered images by creating an iterator and iterating through list. I want to display each node horizontally one after the other in some sort of a panel. This would be similar to a film reel where frames are linked one after the other. I am not quite sure on how to go about doing so and what I should look into. I am not asking for any specific code I just need some pointing in the right direction.

A: 

Use a JList. You can add Icons to the ListModel and display the list horizontally in a scroll pane.

Read the section from the Swing tutorial on How to Use Lists for more details.

camickr