e.printStackTrace();
}
}
protected void doBtnAddSpicActionPerformed(final ActionEvent e) {
ThoubSpicPanel spicPanel = new ThoubSpicPanel();
spicPanel.addPropertyChangeListener(new PropertyChangeListener() {
@Override
public void propertyChange(PropertyChangeEvent evt) {
CustomerThoubSpicTableModel model = (CustomerThoubSpicTableModel) thoubsTable
.getModel();
if ("add".equals(evt.getPropertyName()))
model.addRow((DBObject) evt.getNewValue());
}
});
spicPanel.processNewAction();
ViewUtil.showDialog(spicPanel);
}