How to highlight the cell of a Jtable and keep it highlighted | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to highlight the cell of a Jtable and keep it highlighted

I Have a Jtable with data inserted and I want to highlight each cell one by one and keep it highlighted until I select each cell one by one again to un-highlight each of them. I have an attached code where I'm able to highlight each cell but when I move to another cell, the previous cell is un-highlighted. https://code.sololearn.com/cMFjjBxxNChY/?ref=app

3rd Feb 2023, 3:01 PM
Sibusiso Mbambo
1 Answer
0
https://code.sololearn.com/cDnN7pNruFcQ/?ref=app
3rd Apr 2023, 1:48 PM
Torch light
Torch light - avatar