Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Is there Anyone Cook on a JTree wake me up!  RSS feed

 
Sanjay Bahrani
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi There,
I am designing a tree just like the windows Explorer. Here the objects that i have to add to the nodes are dynamicall generated from another program and stored in the Vector. I have to check each object, if it has a parent or not. If it has than i have to add that node to coressponding parent just like the windows Explorer...
Can you help me out if yeah, Queries are Welcome for the Same..
Thankz.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So which part do you need help with?
 
Sanjay Bahrani
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bodie Minster:
So which part do you need help with?

Hi there,
I have the logic as explained....
1. I have the Vector of Objects, these obejects has some parent objects and some of them are the leaf obects. (I you know NDS than they are container objects and some are the only Objects).
2. Now I want the Tree Structure, if object has some Parent than add that Object to the Corresponding Parent.
3. What Else Do You Want...
Thankz...
 
Huang Crystal
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am trying to implement a JTree that can browse the local file system..Do you have any solutions to that..pls reply to mi..
thanx alot..=)
Originally posted by Sanjay Bahrani:
Hi There,
I am designing a tree just like the windows Explorer. Here the objects that i have to add to the nodes are dynamicall generated from another program and stored in the Vector. I have to check each object, if it has a parent or not. If it has than i have to add that node to coressponding parent just like the windows Explorer...
Can you help me out if yeah, Queries are Welcome for the Same..
Thankz.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!