Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/user-interface/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
User interface 单击JButton后使UI消失_User Interface_Jbutton - Fatal编程技术网

User interface 单击JButton后使UI消失

User interface 单击JButton后使UI消失,user-interface,jbutton,User Interface,Jbutton,我正在开发一个报警应用程序。当用户单击JButton并在后台运行时,我希望我的ui消失。你能告诉我怎么做吗 谢谢我得到了答案。 我们只需在框架上调用setVisible(false)

我正在开发一个报警应用程序。当用户单击JButton并在后台运行时,我希望我的ui消失。你能告诉我怎么做吗

谢谢

我得到了答案。 我们只需在框架上调用
setVisible(false)