6417721: Thread list should not allow multiple selection
Reviewed-by: alanb, jbachorik, sjiang
This commit is contained in:
parent
bf1e11707b
commit
99f960f2ef
@ -595,6 +595,7 @@ class ThreadTab extends Tab implements ActionListener, DocumentListener, ListSel
|
|||||||
|
|
||||||
setBorder(thinEmptyBorder);
|
setBorder(thinEmptyBorder);
|
||||||
|
|
||||||
|
setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
|
||||||
addListSelectionListener(ThreadTab.this);
|
addListSelectionListener(ThreadTab.this);
|
||||||
setCellRenderer(new DefaultListCellRenderer() {
|
setCellRenderer(new DefaultListCellRenderer() {
|
||||||
public Component getListCellRendererComponent(JList<?> list, Object value, int index,
|
public Component getListCellRendererComponent(JList<?> list, Object value, int index,
|
||||||
|
Loading…
Reference in New Issue
Block a user