}
} // fillIntoTableLayout
public static void fillIntoGridOrTableLayout(Composite parent, Label label, Control control,
int widthHint, int heightHint, boolean grabH, int indentLeft) {
Layout layout = parent.getLayout();
if (layout instanceof GridLayout) {
fillIntoGridLayout(parent, label, control, widthHint, heightHint, grabH, indentLeft);
} else if (layout instanceof TableWrapLayout) {
fillIntoTableLayout(parent, label, control, heightHint, grabH, indentLeft);
}