标签:otp swing ane 对话框 触发按钮 set play import isp
导包:import javax.swing.JRootPane;
JRootPane rootPane = display2.getRootPane();
// 在对话框display2中按下回车就相当于按下btnNewButton_1按钮
rootPane.setDefaultButton(btnNewButton_1);
标签:otp swing ane 对话框 触发按钮 set play import isp
原文地址:https://www.cnblogs.com/prodigal-son/p/12934357.html