Program: 129907
Project: 129907
Buggy source:
private void addGroupSchemaTarget(final Composite mainComposite,final int width,final int height){
  schemaTargetGroup=Form.createGroup(mainComposite,1,Messages.getString("String_Node_Str"),height);
  if (WindowSystem.isGTK() && firstTimeWizardOpened.equals(Boolean.TRUE)) {
    schemaTargetGroup.addListener(SWT.Paint,new Listener(){
      public void handleEvent(      Event event){
        Point offsetPoint=event.display.map(linker.getBgDrawableComposite(),schemaTargetGroup,new Point(0,0));
        linker.setOffset(offsetPoint);
        linker.drawBackground(event.gc);
      }
    }
);
  }
  XPathPrefix[] values=XPathPrefix.values();
  String[] xPathPrefixData=new String[values.length];
  for (int j=0; j < values.length; j++) {
    xPathPrefixData[j]=values[j].getDisplayName();
  }
  Composite composite=new Composite(schemaTargetGroup,SWT.NONE);
  final GridLayout layout=new GridLayout();
  layout.numColumns=2;
  composite.setLayout(layout);
  composite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  xPathPrefixCombo=new LabelledCombo(composite,"String_Node_Str","String_Node_Str",xPathPrefixData,1,true);
  xPathPrefixCombo.getCombo().setBackground(null);
  CommandStackForComposite commandStack=new CommandStackForComposite(schemaTargetGroup);
  loopModel=new MDMXSDExtractorLoopModel("String_Node_Str");
  loopTableEditorView=new ExtractionLoopWithMDMEditorView(loopModel,schemaTargetGroup);
  loopTableEditorView.getExtendedTableViewer().setCommandStack(commandStack);
  GridData data2=new GridData(GridData.FILL_HORIZONTAL);
  data2.heightHint=90;
  final Composite loopTableEditorComposite=loopTableEditorView.getMainComposite();
  loopTableEditorComposite.setLayoutData(data2);
  loopTableEditorComposite.setBackground(null);
  if (WindowSystem.isGTK() && firstTimeWizardOpened.equals(Boolean.TRUE)) {
    loopTableEditorComposite.addListener(SWT.Paint,new Listener(){
      public void handleEvent(      Event event){
        Point offsetPoint=event.display.map(linker.getBgDrawableComposite(),loopTableEditorComposite,new Point(0,0));
        linker.setOffset(offsetPoint);
        linker.drawBackground(event.gc);
      }
    }
);
  }
  fieldsModel=new MDMXSDExtractorFieldModel("String_Node_Str");
  fieldsTableEditorView=new ExtractionFieldsWithMDMEditorView(fieldsModel,schemaTargetGroup);
  fieldsTableEditorView.getExtendedTableViewer().setCommandStack(commandStack);
  final Composite fieldTableEditorComposite=fieldsTableEditorView.getMainComposite();
  fieldTableEditorComposite.setLayoutData(new GridData(GridData.FILL_BOTH));
  fieldTableEditorComposite.setBackground(null);
  if (WindowSystem.isGTK() && firstTimeWizardOpened.equals(Boolean.TRUE)) {
    fieldTableEditorComposite.addListener(SWT.Paint,new Listener(){
      public void handleEvent(      Event event){
        Point offsetPoint=event.display.map(linker.getBgDrawableComposite(),fieldTableEditorComposite,new Point(0,0));
        linker.setOffset(offsetPoint);
        linker.drawBackground(event.gc);
      }
    }
);
  }
}

Fixed version (ground truth):
private void addGroupSchemaTarget(final Composite mainComposite,final int width,final int height){
  schemaTargetGroup=Form.createGroup(mainComposite,1,Messages.getString("String_Node_Str"),height);
  if (WindowSystem.isGTK() && firstTimeWizardOpened.equals(Boolean.TRUE)) {
    schemaTargetGroup.addListener(SWT.Paint,new Listener(){
      public void handleEvent(      Event event){
        Point offsetPoint=event.display.map(linker.getBgDrawableComposite(),schemaTargetGroup,new Point(0,0));
        linker.setOffset(offsetPoint);
        linker.drawBackground(event.gc);
      }
    }
);
  }
  XPathPrefix[] values=XPathPrefix.values();
  String[] xPathPrefixData=new String[values.length];
  for (int j=0; j < values.length; j++) {
    xPathPrefixData[j]=values[j].getDisplayName();
  }
  Composite composite=new Composite(schemaTargetGroup,SWT.NONE);
  final GridLayout layout=new GridLayout();
  layout.numColumns=2;
  composite.setLayout(layout);
  composite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  Label label=new Label(composite,SWT.NONE);
  label.setText("String_Node_Str");
  prefixCombo=new CCombo(composite,SWT.BORDER);
  prefixCombo.setBackground(getShell().getDisplay().getSystemColor(SWT.COLOR_WHITE));
  prefixCombo.setItems(xPathPrefixData);
  prefixCombo.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  CommandStackForComposite commandStack=new CommandStackForComposite(schemaTargetGroup);
  loopModel=new MDMXSDExtractorLoopModel("String_Node_Str");
  loopTableEditorView=new ExtractionLoopWithMDMEditorView(loopModel,schemaTargetGroup);
  loopTableEditorView.getExtendedTableViewer().setCommandStack(commandStack);
  GridData data2=new GridData(GridData.FILL_HORIZONTAL);
  data2.heightHint=90;
  final Composite loopTableEditorComposite=loopTableEditorView.getMainComposite();
  loopTableEditorComposite.setLayoutData(data2);
  loopTableEditorComposite.setBackground(null);
  if (WindowSystem.isGTK() && firstTimeWizardOpened.equals(Boolean.TRUE)) {
    loopTableEditorComposite.addListener(SWT.Paint,new Listener(){
      public void handleEvent(      Event event){
        Point offsetPoint=event.display.map(linker.getBgDrawableComposite(),loopTableEditorComposite,new Point(0,0));
        linker.setOffset(offsetPoint);
        linker.drawBackground(event.gc);
      }
    }
);
  }
  fieldsModel=new MDMXSDExtractorFieldModel("String_Node_Str");
  fieldsTableEditorView=new ExtractionFieldsWithMDMEditorView(fieldsModel,schemaTargetGroup);
  fieldsTableEditorView.getExtendedTableViewer().setCommandStack(commandStack);
  final Composite fieldTableEditorComposite=fieldsTableEditorView.getMainComposite();
  fieldTableEditorComposite.setLayoutData(new GridData(GridData.FILL_BOTH));
  fieldTableEditorComposite.setBackground(null);
  if (WindowSystem.isGTK() && firstTimeWizardOpened.equals(Boolean.TRUE)) {
    fieldTableEditorComposite.addListener(SWT.Paint,new Listener(){
      public void handleEvent(      Event event){
        Point offsetPoint=event.display.map(linker.getBgDrawableComposite(),fieldTableEditorComposite,new Point(0,0));
        linker.setOffset(offsetPoint);
        linker.drawBackground(event.gc);
      }
    }
);
  }
}