更新时间:2023-01-25 20:48:21
CellRenderers用于呈现单元格内容.如果要查找单击鼠标所在的单元格,请使用MouseListener并在mouseClicked方法中找到该单元格.
CellRenderers are used for rendering the cell contents. If you want to find the cell in which the mouse clicked, use a MouseListener and in the mouseClicked method find the cell.