Skip to content
Advertisement

Text cursor is invisible when editing a JTable cell

The problem is that I have to click on the cell by mouse so that the text cursor is visible (after the cell get focused). I can still edit the cell even if the text cursor is invisible. When I try to get a cell focused through a keyboard key like Tab or Arrow then there’s no chance the text cursor gets appeared while editing.

JavaScript

I want the text cursor to be visible while editing without having to manually click on the cell.

Advertisement

Answer

Your can override the JTable with code like:

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement