I want to double click a JList item to open a new window. How should I do that?
Specifically, I have a JList which its data is from a collection of images (which contains info like image size, file name, etc.). I want to double click a list item, then a new window opens, so that I can display the full view of the image in the new window.
Which listener shall I use?