有狐 · 2010-05-10 08:27:06 · 阅读: 472 看一段代码 if (action != null) { 。。。。。 } 。。。。。 action.addPropertyChangeListener(propertyListener); if (action != null) { 。。。。。 } 搞不懂问什么要加 if 判断