wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes needs help in adding nodes from database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "needs help in adding nodes from database" Watch "needs help in adding nodes from database" New topic
Author

needs help in adding nodes from database

sahas ullur
Greenhorn

Joined: Dec 03, 2003
Posts: 8
hi,
I have data in data base
i need to disply them in the jtree,
DATABASE RESULT
parentName nodeName
Parent Group1
Parent Group2
Parent Group3
parent is the rootnode and Group1,2,3 are the nodes of parent and
parentName nodeName
Group1 Child1
Group2 Child2
Group3 Child3
Group3 Group4
Group4 Child4
i need to display i the format of
parent
|
Group1-Child1
Group2-Child2
Group3-Child3
|
Group4-Child4
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8839
    
    7

What do you need help with? Getting the values out of the database? Check out the Online JDBC Tutorials Displaying items in a JTree? Check out the Swing Tutorial.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: needs help in adding nodes from database
 
Similar Threads
Z-INDEX not working in IE7 for nested <DIV> Tag
Need help in choosing the better approch. (SAX/DOM)
determine class info at runtime
URL mapping
Confusion in JAXP DOM parser