javaswingnetbeans6.7

adding button to the cell in Jtable in netbeans


How to add button in the cell of Jtable in netbeans???


Solution

  • You need to add custom cell renderer, retarget some events from table and repaint cell when button state changes. It's evil, it's nasty, but it can be done.