aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes I don't want the user to change the data in the table, how to make it Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "I don Watch "I don New topic
Author

I don't want the user to change the data in the table, how to make it

Sean Li
Ranch Hand

Joined: Feb 27, 2002
Posts: 154
I cannot use setEnable method because I'm using some other feathers such as selection. is there any solution? Thanks for your help!
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
Have you tried the isCellEditable(int row, int col) method in the JTable class?


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I don't want the user to change the data in the table, how to make it