Program: 170780
Project: 170780
Buggy source:
private Composite build(Composite sf,final DashboardItem item,boolean use_tabs){
  Composite g=use_tabs ? new Composite(sf,SWT.NULL) : new Group(sf,SWT.NULL);
  g.setLayoutData(Utils.getFilledFormData());
  g.setLayout(new GridLayout());
  try {
    if (g instanceof Group) {
      ((Group)g).setText(item.getTitle());
    }
    Composite menu_comp=use_tabs ? sf : g;
    Menu menu=new Menu(menu_comp);
    org.eclipse.swt.widgets.MenuItem itemReload=new org.eclipse.swt.widgets.MenuItem(menu,SWT.PUSH);
    Messages.setLanguageText(itemReload,"String_Node_Str");
    final Runnable reload_action=new Runnable(){
      public void run(){
        if (Utils.isSWTThread()) {
          if (!g.isDisposed()) {
            Utils.disposeComposite(g,false);
            SkinnedComposite skinned_comp=new SkinnedComposite(g);
            SWTSkin skin=skinned_comp.getSkin();
            BaseMdiEntry.importStandAlone((SWTSkinObjectContainer)skin.getSkinObject("String_Node_Str"),item.getState(),this);
            Control c=((SWTSkinObjectContainer)skin.getSkinObject("String_Node_Str")).getControl();
            c.setLayoutData(Utils.getFilledFormData());
            g.layout(true,true);
          }
        }
 else {
          Utils.execSWTThread(this);
        }
      }
    }
;
    sf.setData(reload_action);
    itemReload.addSelectionListener(new SelectionAdapter(){
      @Override public void widgetSelected(      SelectionEvent arg0){
        reload_action.run();
      }
    }
);
    org.eclipse.swt.widgets.MenuItem itemPop=new org.eclipse.swt.widgets.MenuItem(menu,SWT.PUSH);
    Messages.setLanguageText(itemPop,"String_Node_Str");
    itemPop.addSelectionListener(new SelectionAdapter(){
      @Override public void widgetSelected(      SelectionEvent arg0){
        SkinnedDialog skinnedDialog=new SkinnedDialog("String_Node_Str","String_Node_Str",null,SWT.RESIZE | SWT.MAX | SWT.DIALOG_TRIM);
        SWTSkin skin=skinnedDialog.getSkin();
        SWTSkinObjectContainer cont=BaseMdiEntry.importStandAlone((SWTSkinObjectContainer)skin.getSkinObject("String_Node_Str"),item.getState(),null);
        if (cont != null) {
          skinnedDialog.setTitle(item.getTitle());
          skinnedDialog.open();
        }
 else {
          skinnedDialog.close();
        }
      }
    }
);
    new org.eclipse.swt.widgets.MenuItem(menu,SWT.SEPARATOR);
    org.eclipse.swt.widgets.MenuItem itemRemove=new org.eclipse.swt.widgets.MenuItem(menu,SWT.PUSH);
    Messages.setLanguageText(itemRemove,"String_Node_Str");
    Utils.setMenuItemImage(itemRemove,"String_Node_Str");
    itemRemove.addSelectionListener(new SelectionAdapter(){
      @Override public void widgetSelected(      SelectionEvent arg0){
        item.remove();
      }
    }
);
    menu_comp.setMenu(menu);
    SkinnedComposite skinned_comp=new SkinnedComposite(g);
    SWTSkin skin=skinned_comp.getSkin();
    BaseMdiEntry.importStandAlone((SWTSkinObjectContainer)skin.getSkinObject("String_Node_Str"),item.getState(),reload_action);
    Control c=((SWTSkinObjectContainer)skin.getSkinObject("String_Node_Str")).getControl();
    c.setLayoutData(Utils.getFilledFormData());
    c.addListener(SWT.Show,new Listener(){
      @Override public void handleEvent(      Event arg0){
        g.layout(true,true);
      }
    }
);
  }
 catch (  Throwable e) {
    Debug.out(e);
  }
  return (g);
}

Fixed version (ground truth):
private Composite build(Composite sf,final DashboardItem item,boolean use_tabs){
  Composite g=use_tabs ? new Composite(sf,SWT.NULL) : new Group(sf,SWT.NULL);
  g.setLayoutData(Utils.getFilledFormData());
  g.setLayout(new GridLayout());
  g.setData(Utils.RELAYOUT_UP_STOP_HERE,true);
  try {
    if (g instanceof Group) {
      ((Group)g).setText(item.getTitle());
    }
    Composite menu_comp=use_tabs ? sf : g;
    Menu menu=new Menu(menu_comp);
    org.eclipse.swt.widgets.MenuItem itemReload=new org.eclipse.swt.widgets.MenuItem(menu,SWT.PUSH);
    Messages.setLanguageText(itemReload,"String_Node_Str");
    final Runnable reload_action=new Runnable(){
      public void run(){
        if (Utils.isSWTThread()) {
          if (!g.isDisposed()) {
            Utils.disposeComposite(g,false);
            SkinnedComposite skinned_comp=new SkinnedComposite(g);
            SWTSkin skin=skinned_comp.getSkin();
            BaseMdiEntry.importStandAlone((SWTSkinObjectContainer)skin.getSkinObject("String_Node_Str"),item.getState(),this);
            Control c=((SWTSkinObjectContainer)skin.getSkinObject("String_Node_Str")).getControl();
            c.setLayoutData(Utils.getFilledFormData());
            g.layout(true,true);
          }
        }
 else {
          Utils.execSWTThread(this);
        }
      }
    }
;
    sf.setData(reload_action);
    itemReload.addSelectionListener(new SelectionAdapter(){
      @Override public void widgetSelected(      SelectionEvent arg0){
        reload_action.run();
      }
    }
);
    org.eclipse.swt.widgets.MenuItem itemPop=new org.eclipse.swt.widgets.MenuItem(menu,SWT.PUSH);
    Messages.setLanguageText(itemPop,"String_Node_Str");
    itemPop.addSelectionListener(new SelectionAdapter(){
      @Override public void widgetSelected(      SelectionEvent arg0){
        SkinnedDialog skinnedDialog=new SkinnedDialog("String_Node_Str","String_Node_Str",null,SWT.RESIZE | SWT.MAX | SWT.DIALOG_TRIM);
        SWTSkin skin=skinnedDialog.getSkin();
        SWTSkinObjectContainer cont=BaseMdiEntry.importStandAlone((SWTSkinObjectContainer)skin.getSkinObject("String_Node_Str"),item.getState(),null);
        if (cont != null) {
          skinnedDialog.setTitle(item.getTitle());
          skinnedDialog.open();
        }
 else {
          skinnedDialog.close();
        }
      }
    }
);
    new org.eclipse.swt.widgets.MenuItem(menu,SWT.SEPARATOR);
    org.eclipse.swt.widgets.MenuItem itemRemove=new org.eclipse.swt.widgets.MenuItem(menu,SWT.PUSH);
    Messages.setLanguageText(itemRemove,"String_Node_Str");
    Utils.setMenuItemImage(itemRemove,"String_Node_Str");
    itemRemove.addSelectionListener(new SelectionAdapter(){
      @Override public void widgetSelected(      SelectionEvent arg0){
        item.remove();
      }
    }
);
    menu_comp.setMenu(menu);
    SkinnedComposite skinned_comp=new SkinnedComposite(g);
    SWTSkin skin=skinned_comp.getSkin();
    BaseMdiEntry.importStandAlone((SWTSkinObjectContainer)skin.getSkinObject("String_Node_Str"),item.getState(),reload_action);
    Control c=((SWTSkinObjectContainer)skin.getSkinObject("String_Node_Str")).getControl();
    c.setLayoutData(Utils.getFilledFormData());
    c.addListener(SWT.Show,new Listener(){
      @Override public void handleEvent(      Event arg0){
        g.layout(true,true);
      }
    }
);
  }
 catch (  Throwable e) {
    Debug.out(e);
  }
  return (g);
}