how to catch double-click event on the list and on the label
<p>The main form of my app has the BorderLayout and a list of pictures is added to its center. User can scroll on the list to see pictures. If user performs a double-click on the list then the list is removed and a label is added and the current picture is scaled to screen-size and displayed via setIcon() method of the label.</p>

<p>Then if user performs a click on the label, the next picture is displayed. If user performs a double-click on the label then the label is removed and the list is added back.</p>

<p>How can I catch a double-click event on the list and on the label?</p>

<p>Thanks,
William</p>