control = new StyledText(sash, SWT.READ_ONLY | SWT.H_SCROLL | SWT.V_SCROLL); control.setEditable(false);   control.addControlListener(new ControlAdapter() { @Override public void controlResized(ControlEvent e) { updateDisplay(); } }); presenter = new HTMLTextPresenter(false);
browser = new Browser(sash, SWT.NONE);
	public void createPartControl(Composite parent) {		SashForm sash = new SashForm(parent, SWT.VERTICAL);		annotationList = new List(sash, SWT.V_SCROLL);		control = new StyledText(sash, SWT.READ_ONLY | SWT.H_SCROLL				| SWT.V_SCROLL);		control.setEditable(false);		// Handle control resizing. The HTMLPresenter cares about window size		// when presenting HTML, so we should redraw the control.		control.addControlListener(new ControlAdapter() {			@Override			public void controlResized(ControlEvent e) {				updateDisplay();			}		});		presenter = new HTMLTextPresenter(false);		DetailsView.detailsView = this;	}