- Timestamp:
- 2016-01-10T15:01:10+01:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/MenuItemSearchDialog.java
r9389 r9390 11 11 12 12 import javax.swing.DefaultListCellRenderer; 13 import javax.swing.DefaultListSelectionModel;14 13 import javax.swing.JLabel; 15 14 import javax.swing.JList; … … 75 74 this.menu = menu; 76 75 lsResult.setCellRenderer(new CellRenderer()); 77 lsResult.setSelectionModel(new DefaultListSelectionModel() {78 79 });80 76 } 81 77 -
trunk/src/org/openstreetmap/josm/gui/widgets/SearchTextResultListPanel.java
r9372 r9390 15 15 import javax.swing.JPanel; 16 16 import javax.swing.JScrollPane; 17 import javax.swing.ListSelectionModel; 17 18 import javax.swing.event.DocumentEvent; 18 19 import javax.swing.event.DocumentListener; … … 80 81 81 82 lsResult = new JList<>(lsResultModel); 83 lsResult.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); 82 84 lsResult.addMouseListener(new MouseAdapter() { 83 85 @Override
Note:
See TracChangeset
for help on using the changeset viewer.