G
groupie
Hi,
I have the following String array:
PNODE NODE PNAME NNAME DATA1 DATA2 DATA3
0 0 root root - -
-
0 1 root days - - -
0 2 root month - - -
1 3 days even - - -
3 4 even alleven 2nd 4th 6th
1 5 days odd 3rd 5th 7th
I hope you see what I'm getting at (pnode=parent/node=child).
I can't for the life of me figure out how to "convert" the above into
a jTree - I've looked at loads of recursion functions etc. but just
can't seem to get my head around it...convert a String array into a
jTree - any help?
Thanks!
I have the following String array:
PNODE NODE PNAME NNAME DATA1 DATA2 DATA3
0 0 root root - -
-
0 1 root days - - -
0 2 root month - - -
1 3 days even - - -
3 4 even alleven 2nd 4th 6th
1 5 days odd 3rd 5th 7th
I hope you see what I'm getting at (pnode=parent/node=child).
I can't for the life of me figure out how to "convert" the above into
a jTree - I've looked at loads of recursion functions etc. but just
can't seem to get my head around it...convert a String array into a
jTree - any help?
Thanks!