Joined
Last Seen
0 Reputation Points
100% Quality Score
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
0 Endorsements
Ranked #44.2K
Hello everyone , I'm trying to update an existing Excel file(.xls) and add some rows in it . I already can open an xls and display it in a jTable, but i want to add rows to a specific sheet that i choose in a combobox . My xls have … |
|
Re:
I know that you can call this method to delete a row from a JTable: [Code] DefaultTableModel.deleteRow(index); [/Code] I need to delete all of the rows at some point, and this is not working: [Code] for (int i=0; i<dtm.getRowCount(); i++) { dtm.removeRow(i); mortgageTable.revalidate(); } [/Code] I tried revalidating, but that … |