I am trying open a .pdf file using swt browser widget in IE using the following code-

```
    _browser.setUrl(
    FileSystems.getDefault().getPath("UserGuide00.pdf")
    .toAbsolutePath().toString());
    return _browser;

```

The problem is that the pdf file is getting launched as a separate document and not within the browser. what am i missing? Would really appreciate some help.

Thanks.