Skip to main content

How to make JTable uneditable without overriding or extending?

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
adra
Offline
Joined: 2011-08-28

Hi,

Does anybody know how to disable editing for a column without overriding DefaultTableModel or extending the AbstractTableModel. I have to make it possible without using overriding or extending.

Thanks in advance..