Hi,
Welcome to the Ranch!
First of all, you have to tell us what you have tried. You have to
Show Some Effort (click on the link to understand the explanation).
Have you gone through the JTree
tutorial? if so, you would understand that, like all Swing components, you have to supply the 'model' for the JTree to work.
So, in your case, you will have to parse the
string and write a logic to build the model.