A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Jtable without cell selection?
Joined: Jan 23, 2002
Feb 08, 2002 00:42:00
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....
Joined: May 17, 2001
Feb 08, 2002 05:52:00
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?
Grid header for JTable
Disabling Cell Focusing in JTable
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014