if(e.getActionCommand().equals("打开"))

来源:学生作业帮助网 编辑:六六作业网 时间:2024/05/14 13:28:38
if(e.getActionCommand().equals("打开"))if(e.getActionCommand().equals("打开"))if(e.getActionCommand().eq

if(e.getActionCommand().equals("打开"))
if(e.getActionCommand().equals("打开"))

if(e.getActionCommand().equals("打开"))
如果得到的动作指令的内容是“打开”,例如某个button的action command是打开,当点击的时候,这条语句就会起作用.