6417721: Thread list should not allow multiple selection

Reviewed-by: alanb, jbachorik, sjiang
This commit is contained in:
Erik Gahlin 2013-08-19 16:21:49 +02:00
parent bf1e11707b
commit 99f960f2ef

View File

@ -595,6 +595,7 @@ class ThreadTab extends Tab implements ActionListener, DocumentListener, ListSel
setBorder(thinEmptyBorder);
setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
addListSelectionListener(ThreadTab.this);
setCellRenderer(new DefaultListCellRenderer() {
public Component getListCellRendererComponent(JList<?> list, Object value, int index,