This page contains an archived post to the Java Answers Forum made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
About Cell Selection
Posted by Zane on September 17, 2001 at 10:50 PM
The following is my code about solve select multiple problem.
//The jShoppingCartTable is my jTable Variable
jShoppingCartTable = new jTable(data, columnNames);
TableColumn column = null;
column = jShoppingCartTable.getColumnModel().getColumn(1);
Hope it could help you. If you still have problem, please
send email to you.
> Could you tell me how can i select multiple "Cell Selection" from the JTable.
> For Example, you can find this feature in "MocroSoft Excel" (pressing "ctrl" key, select multiple cells) .
> A reply mail could be a great help.
> Thanx in Advance.