File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes jface Treeviewer and StyledText Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "jface Treeviewer and StyledText" Watch "jface Treeviewer and StyledText" New topic

jface Treeviewer and StyledText

vignesh krishnan

Joined: Feb 03, 2010
Posts: 10
I have a jface Treeviewer showing system directories and files and a StyledText on a shell. The goal is to use a bunch of apis such as apache poi, pdfbox, htmlparser to display contents of a file choosen from the Treeviewer on the StyledText.
But somehow, the Treeviewer seems to occupy the entire shell , because of which i am not able to layout the StyledText component alongside Treeviewer. I want to be able to display the tree on the left with the styledtext on the right.
I would really appreciate any suggestion on this matter from you folks.

Learn as if you will live forever
I agree. Here's the link:
subject: jface Treeviewer and StyledText
jQuery in Action, 3rd edition