[ACCEPTED]-Selecting multiple rows of JTable-jtable
Accepted answer
You need to allow multiple selection:
table.setRowSelectionAllowed(true);
table.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
Then 4 you need to write appropriate selection 3 listener. It's a bit harder, try to find 2 in google related solutions. You can look 1 at an example of selection listener.
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.