jQuery in Action, 3rd edition
The moose likes Beginning Java and the fly likes Jtable without cell selection? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Jtable without cell selection?" Watch "Jtable without cell selection?" New topic
Author

Jtable without cell selection?

Rudolph Ten
Greenhorn

Joined: Jan 23, 2002
Posts: 9
How do i create a Jtable without cell selection?
How do i make so cells are tranparent to user.....not editable......
user can only select row...not cell....
Thanks
Newbie to Java here....
Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
If you do a search in the swing forum, all of these questions have answers.
For the editing search on isCellEditable().
For your other question setRowSelectionAllowed() setCellSelectionEnabled().
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Jtable without cell selection?
 
It's not a secret anymore!