Program: 95031
Project: 95031
Buggy source:
Manager(boolean withParticipantsList,CTabFolder parent,String name,KeyListener keyListener){
  tabItem=new CTabItem(parent,SWT.NULL);
  tabItem.setText(name);
  if (withParticipantsList) {
    fullChat=new SashForm(parent,SWT.HORIZONTAL);
    fullChat.setLayout(new FillLayout());
    Composite memberComp=new Composite(fullChat,SWT.NONE);
    memberComp.setLayout(new FillLayout());
    listViewer=new ListViewer(memberComp,SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL);
    listViewer.setSorter(new ViewerSorter());
    Composite rightComp=new Composite(fullChat,SWT.NONE);
    rightComp.setLayout(new FillLayout());
    rightSash=new SashForm(rightComp,SWT.VERTICAL);
  }
 else   rightSash=new SashForm(parent,SWT.VERTICAL);
  Composite readInlayComp=new Composite(rightSash,SWT.FILL);
  readInlayComp.setLayout(new GridLayout());
  readInlayComp.setLayoutData(new GridData(GridData.FILL_BOTH));
  textOutput=new SimpleLinkTextViewer(readInlayComp,SWT.V_SCROLL | SWT.H_SCROLL | SWT.WRAP);
  textOutput.getTextWidget().setEditable(false);
  textOutput.getTextWidget().setLayoutData(new GridData(GridData.FILL_BOTH));
  Composite writeComp=new Composite(rightSash,SWT.NONE);
  writeComp.setLayout(new FillLayout());
  textInput=new Text(writeComp,SWT.BORDER | SWT.MULTI | SWT.WRAP| SWT.V_SCROLL);
  if (keyListener != null)   textInput.addKeyListener(keyListener);
  rightSash.setWeights(new int[]{RATIO_READ_PANE,RATIO_WRITE_PANE});
  if (withParticipantsList) {
    fullChat.setWeights(new int[]{RATIO_PRESENCE_PANE,RATIO_READ_WRITE_PANE});
    tabItem.setControl(fullChat);
  }
 else   tabItem.setControl(rightSash);
  parent.setSelection(tabItem);
}

Fixed version (ground truth):
Manager(boolean withParticipantsList,CTabFolder parent,String name,KeyListener keyListener){
  tabItem=new CTabItem(parent,SWT.NULL);
  tabItem.setText(name);
  if (withParticipantsList) {
    fullChat=new SashForm(parent,SWT.HORIZONTAL);
    fullChat.setLayout(new FillLayout());
    Composite memberComp=new Composite(fullChat,SWT.NONE);
    memberComp.setLayout(new FillLayout());
    listViewer=new ListViewer(memberComp,SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL);
    listViewer.setSorter(new ViewerSorter());
    Composite rightComp=new Composite(fullChat,SWT.NONE);
    rightComp.setLayout(new FillLayout());
    rightSash=new SashForm(rightComp,SWT.VERTICAL);
  }
 else   rightSash=new SashForm(parent,SWT.VERTICAL);
  Composite readInlayComp=new Composite(rightSash,SWT.FILL);
  readInlayComp.setLayout(new GridLayout());
  readInlayComp.setLayoutData(new GridData(GridData.FILL_BOTH));
  textOutput=new SimpleLinkTextViewer(readInlayComp,SWT.V_SCROLL | SWT.H_SCROLL | SWT.WRAP);
  textOutput.getTextWidget().setEditable(false);
  textOutput.getTextWidget().setLayoutData(new GridData(GridData.FILL_BOTH));
  textOutput.getTextWidget().addFocusListener(new FocusListener(){
    public void focusGained(    FocusEvent e){
      textInput.setFocus();
    }
    public void focusLost(    FocusEvent e){
    }
  }
);
  Composite writeComp=new Composite(rightSash,SWT.NONE);
  writeComp.setLayout(new FillLayout());
  textInput=new Text(writeComp,SWT.BORDER | SWT.MULTI | SWT.WRAP| SWT.V_SCROLL);
  if (keyListener != null)   textInput.addKeyListener(keyListener);
  rightSash.setWeights(new int[]{RATIO_READ_PANE,RATIO_WRITE_PANE});
  if (withParticipantsList) {
    fullChat.setWeights(new int[]{RATIO_PRESENCE_PANE,RATIO_READ_WRITE_PANE});
    tabItem.setControl(fullChat);
  }
 else   tabItem.setControl(rightSash);
  parent.setSelection(tabItem);
}