Hi, Sorry for delay in reply.. Sorry, i didnot get you. I have a jtable. In the table only first column will be checkbox, all other columns will be some data. For creating the roe iam doing model.addRow(new Object[]{templateResource.getTemplateName(), templateResource.getTemplateDescription(), fileNames.replaceFirst(",", "")}); This is creating a row wirh data, but the problem is here i cannot add check box, i want to know along with these data, how to add check box as the firts column in the row.
This is a question about Swing, not about IntelliJ plugin development. Adding a checkbox to a JTable does not require using any IntelliJ specific APIs.
You can do this in exactly the same way as you would do this in any other Swing application.
Hi,
Sorry for delay in reply..
Sorry, i didnot get you. I have a jtable. In the table only first column will be checkbox, all other columns will be some data.
For creating the roe iam doing
model.addRow(new Object[]{templateResource.getTemplateName(), templateResource.getTemplateDescription(), fileNames.replaceFirst(",", "")});
This is creating a row wirh data, but the problem is here i cannot add check box, i want to know along with these data, how to add check box as the firts column in the row.
Thanks,
Mangala
This is a question about Swing, not about IntelliJ plugin development. Adding a checkbox to a JTable does not require using any IntelliJ specific APIs.