public ZxyjbzPane(String tableName, UIProperties[] properties, int panelType) { super(tableName, properties, panelType); spSelect.setBind(false); initStatusByYjfw(); initStatusByYjfs(); yjfw_comboBox .getModel() .addListDataListener( new ListDataListener() { public void intervalAdded(ListDataEvent e) {} public void intervalRemoved(ListDataEvent e) {} public void contentsChanged(ListDataEvent e) { initStatusByYjfw(); initStatusByYjfs(); } }); yjfs_comboBox .getModel() .addListDataListener( new ListDataListener() { public void intervalAdded(ListDataEvent e) {} public void intervalRemoved(ListDataEvent e) {} public void contentsChanged(ListDataEvent e) { initStatusByYjfs(); } }); SelectVerifyAction action = new SelectVerifyAction(); kqfwSelect.setSelectVerifyListener(action); cwfwSelect.setSelectVerifyListener(action); spSelect.setSelectVerifyListener(action); spSelect.addObjectChangeListener( new ChangeListener() { @Override public void stateChanged(ChangeEvent e) { NSpInfo spInfo = (NSpInfo) spSelect.getObject(); if (null == spInfo) { SPDH.setText(""); SPMC.setText(""); SPGG.setText(""); } else { SPDH.setText(spInfo.SPDH); SPMC.setText(spInfo.SPMC); SPGG.setText(spInfo.SPGG); } } }); }