posted 14 years ago
When I edit a cell in a JTable. The cell text doesn't actually get set because I didn't tab out of the cell. Then when I try calling my method getSelectedText() which uses the text, the text isn't available because the cell still has the focus and was never edited. How do I manually commit the text when the cell still has the focus???