This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "jface Treeviewer and StyledText" Watch "jface Treeviewer and StyledText" New topic
Author

jface Treeviewer and StyledText

vignesh krishnan
Greenhorn

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: jface Treeviewer and StyledText