I want to insert lines and buttons to jtable while clicking on the button add using netbeans, I used JScrollPane but with only 4 buttons.How can I create a jtable with lines that contain are buttons in the last columns.
Many thanks.
I want to insert lines and buttons to jtable while clicking on the button add using netbeans, I used JScrollPane but with only 4 buttons.How can I create a jtable with lines that contain are buttons in the last columns.
Many thanks.
How can I create a jtable with lines that contain are buttons in the last columns.
You need to add a column in the TableModel to display on the button. Then you need to use a custom renderer and editor for that column.
Check out Table Button Column for and class you can use.