JComponent comp = (JComponent)this._component;
// TF:28/04/2008:Removed this code as we now handle this like Forte seemed to -- if it's explicitly set, use the explicit value
// if (comp.getLayout() instanceof WindowFormLayout) {
// return;
// }
GridCell gbc = GridField.getConstraints((JComponent)this._component);
gbc.setHeightPolicy(policy);
if (comp.getParent() != null) {
comp.getParent().invalidate();
comp.getParent().validate();
}
}