I searched everywhere but I still can't seem to find an answer to my question. I've read all about cell renderers and cell editors but still no idea... I have a JTable, and I want to make sure that the users clearly see which cell they are editing. by default, the edited cell in JTable gets a darker border, but i would like to make the background green. I can make it green when selected, but as soon as I start entering data, the green background disappears and I'm writing into a white cell.
Could you please help me find a way to keep the background of a cell green even while entering data?