jQuery in Action, 2nd 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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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().
 
Don't get me started about those stupid light bulbs.
 
subject: Jtable without cell selection?
 
Similar Threads
Grid header for JTable
JTable
jtable
JTable
Disabling Cell Focusing in JTable