5423 disable multi-select

This commit is contained in:
William Schaefer 2019-09-04 12:24:31 -04:00
parent cad50a5c17
commit 524b0ffe42
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@
<Property name="model" type="javax.swing.ListModel" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
<Connection code="thumbnailListModel" type="code"/>
</Property>
<Property name="selectionMode" type="int" value="1"/>
<Property name="selectionMode" type="int" value="0"/>
<Property name="cellRenderer" type="javax.swing.ListCellRenderer" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
<Connection code="new ImageThumbnailPanel()" type="code"/>
</Property>

View File

@ -56,7 +56,7 @@ public class ImageThumbnailViewer extends javax.swing.JPanel {
setLayout(new java.awt.BorderLayout());
thumbnailList.setModel(thumbnailListModel);
thumbnailList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_INTERVAL_SELECTION);
thumbnailList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
thumbnailList.setCellRenderer(new ImageThumbnailPanel());
thumbnailList.setLayoutOrientation(javax.swing.JList.HORIZONTAL_WRAP);
thumbnailList.setVisibleRowCount(0);