What would be the best way to add a comment to a table entry
Posted on 2011-10-26
On my dialog form I have a jtable, the table is populated by user selections. I need to give the user to add a comment about a selection on the table. So i am thinking what if I create a array of strings and then I get the selected Row from the table - pop a comments dialog and save the typed string to the String Array at the index of the selected Row. That way when I need to recall the information I can just run through the table list and the string array to get both information. Does that sound OK? Also I am wondering how I would show that a comment as been added.