Jtable get edited contents
I have a Jtable with two columns. I have an array of names for both the columns
eg: First column A="John1","John2","John3" Second column B="GOOD","BAD"
Could someone please clarify how to create a listener so that if I enter 'John1' in the first column, "BAD" should be there in column 2. and if I erase this first column and put John2 there, then "GOOD" should be present.
Thanks and Regards
Re: Jtable get edited contents
I guess you would use a TableModelListener.