0 Replies Latest reply: May 14, 2013 11:15 AM by 1006589 RSS

    newbi of JList

    1006589
      I need to implement an Swing application which has will display a list of image thumbnails when selecting a folder. In my JList, each item will contain a thumbnail, a checkbox and a JLable of the image file name. I have a custum renderer to render the thumbnail. My current implementation has a mouseListener on the list to catch the event of each selecting item. But I don't know how to distinguish the events when user clicks the checkbox vs. clicking the image. Can you please help?