Results 1 to 2 of 2
- 04-14-2011, 10:08 AM #1
Member
- Join Date
- Mar 2011
- Posts
- 17
- Rep Power
- 0
jTree load data from DB *PLS HELP*
Hi all,
I have a task i cannot resolve myself. I need to load a data from mysql to jTree component. Problem is there are constatnly changing data and it is all happenining dynamically. ly
I have no problem to read data from mysql, only to load them into jTree.
Here is what i'm trying to do:

To make it look like this :

I'm working with netbeans 7, so i anyone would be so kind and help me out. Then can my also many nodes uder the root and childs under the nodes. I have try to google it, but out there is not any clear example. PLease helpLast edited by michalss; 04-14-2011 at 10:12 AM.
- 04-14-2011, 04:28 PM #2
Member
- Join Date
- Mar 2011
- Posts
- 17
- Rep Power
- 0
Similar Threads
-
JTree - Save and load from an array?
By grahamb314 in forum AWT / SwingReplies: 10Last Post: 04-14-2011, 09:52 AM -
Fill JTree with data
By frednic in forum New To JavaReplies: 3Last Post: 11-23-2010, 08:23 PM -
Load file to data structure
By TinoJF in forum New To JavaReplies: 4Last Post: 03-31-2009, 03:16 PM -
How to load a directory in JTree with Children(On expansion)
By aneesahamedaa in forum AWT / SwingReplies: 0Last Post: 10-13-2008, 01:23 PM -
how to display data in Jtree
By paty in forum New To JavaReplies: 1Last Post: 07-24-2007, 12:28 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks