how to clear JTable

前端 未结 7 711
渐次进展
渐次进展 2020-12-08 09:17

How can i clear the content of the JTable using Java..

相关标签:
7条回答
  • 2020-12-08 10:18
    ((DefaultTableModel)jTable3.getModel()).setNumRows(0); // delet all table row
    

    Try This:

    0 讨论(0)
提交回复
热议问题