如何在JAVA的GUI中实现弹出一个窗口后主窗口不能操作?
来源:百度知道 编辑:UC知道 时间:2024/05/10 14:43:03
怎么作呢?
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
this.setEnabled(false);
new Frame().setVisible(true); // new class creat
// TODO 将在此处添加您的处理代码:
}