Same way as the chart. Read the data into an array then assign that array as the data provider of the tree control.
I did what you said but doesn't works in fact I work with RemoteObject and i want to create a java class to retrieves data from my mysql database. if you have any exampls show it me please