The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
September 2001

Advertisement

Advertisement

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 Artima Forums.

Message:

About Cell Selection

Posted by Zane on September 17, 2001 at 10:50 PM

Hi,
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.

> Hi,
>
> 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.
>
> Regards,
> Venkat.






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us