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

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/02 19:37:55
if(e.getActionCommand().equals(

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

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