IntelliJ Java IDE
The moose likes Swing / AWT / SWT / JFace and the fly likes how to make a jtable uneditable? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT / JFace
Reply Bookmark "how to make a jtable uneditable?" Watch "how to make a jtable uneditable?" New topic
Author

how to make a jtable uneditable?

pradeep poduval
Greenhorn

Joined: Sep 10, 2001
Posts: 1
i would like to get the reply in datail.
thanks in advance
------------------
Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
In your table model isCellEditable() method just return false. If you haven'e created your own model you need to. DefaultTableModel.
 
 
subject: how to make a jtable uneditable?
 
MyEclipse, The Clear Choice