To select a single cell, make sure you have column selection allowed, then set a specific row and column interval:
https://docs.oracle.com/javase/7/docs/api/javax/swing/JTable.html#setRowSelectionInterval(int,%20int)
https://docs.oracle.com/javase/7/docs/api/javax/swing/JTable.html#setColumnSelectionInterval(int,%20int)
1 Like