Find the JTable cell and paint it
问题 I have these data: Row Number Column Number Cell Value My questions are: How can I find the cell by using those data? How can I change the background of JTable cell on mouse press event and back to normal background on mouse release Event? Can i Highlight the JTable without user interaction, means clicking on some other JTable cell i want to highlight another JTable cell by using given information, is it possible? 回答1: Assuming you mean to find the rectangle of the cell for hit detection: