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