Java, change a cell content as a function of another cell in the same row
问题 I need some help for my problem. I have a table with e.g. a double column and a string column. If the value in the double column is negativ, the string should be \"negativ\". And the other way if the value is positiv, the string should be \"positiv\". The problem is now if I edit the double value in the jTable, the string should also be updated. Update to my question, the actual code look like this: But it doesn\'t work, because the string in the second column wont be updated after I edit the