Ok thanks,
I ll try it
--- In flexcoders@yahoogroups.com, "Dustin Mercer" <[EMAIL PROTECTED]>
wrote:
>
> Yeah, this is a fun one. I have done this, but it's not as elegant
as I was hoping, but it works. What I had to do was create a TreeNode
class. Looks like this:
>
>
>
> Public class T
OK I created my java class TreeNode like that
public class TreeNode {
private String label;
private String data;
private ArrayList children;
public ArrayList getChildren() {
return children;
}
public void setChildren(ArrayList child
Wow, way old thread herebut I'm on this topic currently. I implemented
the above for a Tree. Problem is all my leaves display with folder icon in
the tree even though they have no children. Any ideas?
DK
On 11/7/06, Matias Nicolas Sommi <[EMAIL PROTECTED]> wrote:
Is too late, but I read
Any thougts? The leaves also display the disclosure icon. Some
testing shows that for each of these haschildren is true but
children.size is 0.
On 3/14/07, Douglas Knudsen <[EMAIL PROTECTED]> wrote:
> Wow, way old thread herebut I'm on this topic currently. I implemented
> the above for a Tr
Is too late, but I read this in a personal search in the history messages.The error of NullPointerException maybe is for:
for(int i = 0; i < listFiles.length; i++){
treeNode.getChildren().add(listFiles[i]);
}In this sentece, you add childrens to the ArrayList, but the ArrayList never h
5 matches
Mail list logo