📅  最后修改于: 2022-03-11 14:52:10.902000             🧑  作者: Mango
private void jTextField1KeyPressed(java.awt.event.KeyEvent evt) {
if(evt.getKeyCode() == KeyEvent.VK_ENTER) {
// Enter was pressed. Your code goes here.
}
}