Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

JTable inhibit CTRL-A (Select All)

843806Aug 28 2007 — edited Aug 31 2007
I have a very simple requirement, but I can't see how to do it, as it seems to be very ingrained within the JTable Component.

I have a table, that can get very large, and I want to inhibit the ability to use CTRL-A to select all of the cells. This seems to be the default/standard action. I do however, need to be able to allow users to either select a single row, or multiple rows. (Different users can select different numbers of rows).

Can someone give me a pointer as to how i can disable CTRL-A

Thanks in anticipation
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 28 2007
Added on Aug 28 2007
6 comments
460 views