Multiple selections in JFrame

How can i select multiple rows (actually a max of 2) by just clicking with the mouse (AND not holding down the 'Ctrl' key)Thanks
[151 byte] By [jimbob_ex2] at [2007-9-27 2:00:35]
# 1
hold the mouse button down
tjacobs01 at 2007-7-4 20:47:09 > top of Java-index,Archived Forums,Swing...
# 2
I meant by doing individual clicksI've tried:jTable1.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);Can anyone help me out because it is kind of urgent.Thanks.
jimbob_ex2 at 2007-7-4 20:47:09 > top of Java-index,Archived Forums,Swing...
# 3
I MEANT JTABLE!! (oops)
jimbob_ex2 at 2007-7-4 20:47:09 > top of Java-index,Archived Forums,Swing...
# 4
If you have a three button mouse, you can do multiple selections by holding down the center button and making your selections using your left button
BusyBusyBee at 2007-7-4 20:47:09 > top of Java-index,Archived Forums,Swing...
# 5
Unfortunately i dont.Thanks anyway.
jimbob_ex2 at 2007-7-4 20:47:09 > top of Java-index,Archived Forums,Swing...
# 6
Since you only have a two button mouse, you can do multiple selections by holding down both the buttons(left and right) at the same time and moving your mouse over your rows inorder to select them
BusyBusyBee at 2007-7-4 20:47:09 > top of Java-index,Archived Forums,Swing...
# 7
yes but i need individual clicks to select the rows (like check boxes/radiobuttons,etc..) and not a dragging motion. (and cant use 'Ctrl' button)Thanks again.
jimbob_ex2 at 2007-7-4 20:47:09 > top of Java-index,Archived Forums,Swing...