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

来源:学生作业学帮网 编辑:学帮网 时间:2024/06/17 00:17:39

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

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