This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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().
 
Consider Paul's rocket mass heater.
 
subject: Jtable without cell selection?
 
Similar Threads
JTable
jtable
JTable
Disabling Cell Focusing in JTable
Grid header for JTable