Program: 56846
Project: 56846
Buggy source:
@Override public synchronized boolean create(){
  if (!super.create())   return false;
  Display.getDefault().asyncExec(new Runnable(){
    @Override public void run(){
      ((Shell)parentComposite).setText(TITLE);
      GridData gridData=new GridData();
      gridData.grabExcessHorizontalSpace=true;
      gridData.horizontalAlignment=GridData.FILL;
      Composite infoComposite=new Composite(parentComposite,SWT.NULL);
      infoComposite.setLayoutData(gridData);
      infoComposite.setLayout(new GridLayout(4,false));
      Label pValueLabel=new Label(infoComposite,SWT.NONE);
      pValueLabel.setText("String_Node_Str");
      final Text pValueInputField=new Text(infoComposite,SWT.SINGLE);
      final Slider pValueSlider=new Slider(infoComposite,SWT.HORIZONTAL);
      if (pValue == -1) {
        pValueMax=histogram.getMax();
        pValue=pValueMax;
      }
      gridData=new GridData();
      gridData.grabExcessHorizontalSpace=true;
      gridData.horizontalAlignment=GridData.FILL;
      pValueSlider.setLayoutData(gridData);
      pValueSlider.setSelection((int)(pValue * 10000));
      pValueInputField.setEditable(true);
      pValueInputField.setText(Float.toString(pValue));
      pValueInputField.addKeyListener(new KeyAdapter(){
        @Override public void keyPressed(        KeyEvent e){
          String enteredValue=pValueInputField.getText();
          pValue=new Float(enteredValue);
          pValueSlider.setSelection((int)(pValue * 10000));
          isDirty=true;
        }
      }
);
      pValueSlider.setMinimum(0);
      pValueSlider.setMaximum((int)(pValueMax * 10000));
      pValueSlider.setIncrement(1);
      pValueSlider.setPageIncrement(5);
      pValueSlider.setSelection((int)(pValue * 10000));
      pValueSlider.addMouseListener(new MouseAdapter(){
        @Override public void mouseUp(        MouseEvent e){
          pValue=pValueSlider.getSelection() / 10000.00f;
          pValueInputField.setText(Float.toString(pValue));
          isDirty=true;
          parentComposite.pack();
          parentComposite.layout();
        }
      }
);
      final Button applyFilterButton=new Button(infoComposite,SWT.PUSH);
      applyFilterButton.setText("String_Node_Str");
      applyFilterButton.addSelectionListener(new SelectionAdapter(){
        @Override public void widgetSelected(        SelectionEvent e){
          applyFilter();
        }
      }
);
      Composite histoComposite=new Composite(parentComposite,SWT.NULL);
      histoComposite.setLayout(new FillLayout(SWT.VERTICAL));
      gridData=new GridData();
      gridData.heightHint=300;
      gridData.widthHint=500;
      histoComposite.setLayoutData(gridData);
      RcpGLHistogramView histogramView=new RcpGLHistogramView();
      histogramView.setDataDomain(dataDomain);
      histogramView.createDefaultSerializedView();
      histogramView.createPartControl(histoComposite);
      ((GLHistogram)(histogramView.getGLView())).setHistogram(histogram);
      GeneralManager.get().getViewManager().registerGLCanvasToAnimator(histogramView.getGLCanvas());
    }
  }
);
  addOKCancel();
  return true;
}

Fixed version (ground truth):
@Override public synchronized boolean create(){
  if (!super.create())   return false;
  Display.getDefault().asyncExec(new Runnable(){
    @Override public void run(){
      ((Shell)parentComposite).setText(TITLE);
      GridData gridData=new GridData();
      gridData.grabExcessHorizontalSpace=true;
      gridData.horizontalAlignment=GridData.FILL;
      Composite infoComposite=new Composite(parentComposite,SWT.NULL);
      infoComposite.setLayoutData(gridData);
      infoComposite.setLayout(new GridLayout(4,false));
      Label pValueLabel=new Label(infoComposite,SWT.NONE);
      pValueLabel.setText("String_Node_Str");
      final Text pValueInputField=new Text(infoComposite,SWT.SINGLE);
      final Slider pValueSlider=new Slider(infoComposite,SWT.HORIZONTAL);
      if (pValue == -1) {
        pValueMax=0;
        pValue=pValueMax;
      }
      gridData=new GridData();
      gridData.grabExcessHorizontalSpace=true;
      gridData.horizontalAlignment=GridData.FILL;
      pValueSlider.setLayoutData(gridData);
      pValueSlider.setSelection((int)(pValue * 10000));
      pValueInputField.setEditable(true);
      pValueInputField.setText(Float.toString(pValue));
      pValueInputField.addKeyListener(new KeyAdapter(){
        @Override public void keyPressed(        KeyEvent e){
          String enteredValue=pValueInputField.getText();
          pValue=new Float(enteredValue);
          pValueSlider.setSelection((int)(pValue * 10000));
          isDirty=true;
        }
      }
);
      pValueSlider.setMinimum(0);
      pValueSlider.setMaximum((int)(pValueMax * 10000));
      pValueSlider.setIncrement(1);
      pValueSlider.setPageIncrement(5);
      pValueSlider.setSelection((int)(pValue * 10000));
      pValueSlider.addMouseListener(new MouseAdapter(){
        @Override public void mouseUp(        MouseEvent e){
          pValue=pValueSlider.getSelection() / 10000.00f;
          pValueInputField.setText(Float.toString(pValue));
          isDirty=true;
          parentComposite.pack();
          parentComposite.layout();
        }
      }
);
      final Button applyFilterButton=new Button(infoComposite,SWT.PUSH);
      applyFilterButton.setText("String_Node_Str");
      applyFilterButton.addSelectionListener(new SelectionAdapter(){
        @Override public void widgetSelected(        SelectionEvent e){
          applyFilter();
        }
      }
);
      Composite histoComposite=new Composite(parentComposite,SWT.NULL);
      histoComposite.setLayout(new FillLayout(SWT.VERTICAL));
      gridData=new GridData();
      gridData.heightHint=300;
      gridData.widthHint=500;
      histoComposite.setLayoutData(gridData);
      RcpGLHistogramView histogramView=new RcpGLHistogramView();
      histogramView.setDataDomain(dataDomain);
      histogramView.createDefaultSerializedView();
      histogramView.createPartControl(histoComposite);
      ((GLHistogram)(histogramView.getGLView())).setHistogram(histogram);
      GeneralManager.get().getViewManager().registerGLCanvasToAnimator(histogramView.getGLCanvas());
    }
  }
);
  addOKCancel();
  return true;
}