File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Jtable without cell selection?" Watch "Jtable without cell selection?" New topic

Jtable without cell selection?

Rudolph Ten

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....
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 agree. Here's the link:
subject: Jtable without cell selection?