I have brain cramps - how do I set it JTableso that the enter key acts like a double click on a line?
The “good” way to iterate over is to call JTable.getInputMap()and JTable.getActionMap()and add a new action name and a new Actionone that double-clicks. But there has to be a better way, I think ....
source
share