I've been working on a JTree based component that allows moving around nodes with a popup menu and such. I've run into quite a bit of weird behaviour when trying to get a move function to work though. I use Forte for editing, so I've been watching the variables in the debugger as my program runs and it came to my attention that in any object with elementData every element in it is alternated with a DefaultTextElement. This seems extra strange seeing as all of the DefaultTextElement's in there just contain empty strings! This really throws off my index arrangement the way that I'm doing things, I can change and make it work anyways if I want though. I'm just really curious as to why there are DefaultTextElements stuck between every DefaultElement?
Chris Golden
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user
