Disable drag selection in JTable
843807Apr 20 2010 — edited Apr 21 2010I have a table using MULTIPLE_INTERVAL_SELECTION selection mode and row selection is on. I am using the Windows Look and Feel on Windows XP. I have recently implemented drag and drop for the table and would like to turn off the ability to select rows by dragging. I still want to be able to select rows using a mouse click with CTRL and SHIFT select. The problem is that dragging to select and dragging out of the table are confusing to use together.
Does anyone know an easy way to turn off drag selection?