I am building a screen that has a JTable and a "save" button. The user can enter values in the cells of the JTable and press "save" to save them in the database.
Sometimes the user enters a value in a cell and presses the "save" button without tabbing off of that cell first. In this case, the getValueAt() method doesn't recognize that the cell's value has been changed.
Is there another method that I can use instead of getValueAt() to get the new changed value? Maybe reallyGetValueAt()?
Sometimes the user enters a value in a cell and presses the "save" button without tabbing off of that cell first. In this case, the getValueAt() method doesn't recognize that the cell's value has been changed.
Is there another method that I can use instead of getValueAt() to get the new changed value? Maybe reallyGetValueAt()?