if (comp instanceof JComponent) {
JComponent jc = (JComponent) comp;
jc.putClientProperty("HasDataChanged", Boolean.valueOf(true));
// TF:13/01/2009:Added in the posting of the hasDataChanged property to allow after value change events to be performed on grid fields
jc.firePropertyChange("hasDataChanged", false, true);
while ((jc.getParent() != null) && (jc.getParent() instanceof JComponent)) {
jc = (JComponent) jc.getParent();
jc.putClientProperty("HasDataChanged", Boolean.valueOf(true));
// TF:13/01/2009:Added in the posting of the hasDataChanged property to allow after value change events to be performed on grid fields
jc.firePropertyChange("hasDataChanged", false, true);