I recently have a requirement to display a word file within a JFrame. With this link I was able to achieve what I want (Open MS documents into JFrame). What i need is to display a word file and a pdf file side by side within a JFrame.
In the link mentioned above, the word file was displayed in a JFrame via a Canvas from SWT.
I would like to know:
- Whether it is possible to add two canvases to a single JFrame.
- If not, is it possible to display a word document or a PDF file in a JPanel(since I know that adding two panels to a frame is possible)?
 
     
    