📄 e944. getting the anchor cell in a jtable component.txt
字号:
The anchor cell in a table component is the cell that received the most recent mouse click. In some applications, the content of the anchor cell is automatically displayed in another larger and more convenient editing text area.
public void getAnchorCell(JTable table) {
int rowIndex = table.getSelectionModel().getAnchorSelectionIndex();
int vColIndex = table.getColumnModel().getSelectionModel()
.getAnchorSelectionIndex();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -