Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jtable without cell selection?

 
Rudolph Ten
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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().
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic