}//GEN-LAST:event_jButton7ActionPerformed
private void jList1ValueChanged(javax.swing.event.ListSelectionEvent evt) {//GEN-FIRST:event_jList1ValueChanged
try {
ImportedImage importedImage = (ImportedImage) model.get(jList1.getSelectedIndex());
generateThumbnailMetadataOnDemand(importedImage);
jLabel2.setIcon(importedImage.getThumbnailImageIcon());
previewInfo(importedImage.getPath(), importedImage.getDimensions(), importedImage.getSize());
} catch (Exception e) {
jLabel2.setIcon(DEFAULT_ICON);
}
}//GEN-LAST:event_jList1ValueChanged