• Post Reply Bookmark Topic Watch Topic
  • New Topic

load a folder and dispaly the pictures en jlist

 
laura spain
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello my friend i m newbie en java.
i wanna to display all the picture content in folder in jlist?
it is posible?? what can do? i dont have no idea.

thanks for your help.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here's an example in the tutorial (comboBox, but same principle)

http://docs.oracle.com/javase/tutorial/uiswing/components/combobox.html#renderer

when you've finished reading that section, scroll back up and on the left is 'how to use lists'
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!