only allow x rows to be selected in a jtable
hi all,
i want to only allow a user to select x rows. where x is set in the code.
for example if i only allow 2 rows to be selected....and the rows are:
a
b
c
d
e
then if the user selects a then b then c the selection is first ab, then bc (ie a is deselected when c is selected). kind of like a first in first out thing.
so if the user then selected e, then you have c and e as the selected rows.
any ideas of how i can do this...thanks everyone.
Message was edited by:
sand_samurai

