Skip to content
Advertisement

JTable will set to editable after converting ResultSet to TableModel with DbUtils. How to make it non-editable again?

Here is My Code for doing this`

JavaScript

Advertisement

Answer

Variable names should NOT start with an upper case character. SongData_Table should be songDataTable.

Override the isCellEditable(...) method of the JTable, instead of the TableModel.

JavaScript
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement