This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
This is my first post here so please be patient since I'm not sure what code to post and what not to, and thanks for your help before hand!
The problem is:
I have a JTable based dialog. It has rows (x many) and colums (4) set by an XMLTableModel. Each row represents a file on which the user needs to fill in certain values for such as Doc.name, Doc.no. etc (the columns). The files are in col 4. The other cells are editable. This works fine and the output too, BUT if the user wants to do the same again, SOME data is left in the dialogs table.
How do I make sure the table is entirelly clean before next session and what code would any of you need to see to help?