Blogoforum - blog+forum on computer, dotuseful, java, jtree, programming, swing and tree http://blogoforum.com/tag/computer+dotuseful+java+jtree+programming+swing+tree Talk about computer, dotuseful, java, jtree, programming, swing and tree The JFC changed in 1.5, .useful needs a tweek http://blogoforum.com/tag/computer+dotuseful+java+jtree+programming+swing+tree/the-jfc-changed-in-1-5-useful-needs-a-tweek-7349.html Bee-u-t-ful code I must first comment. Wow. I was trying to use the AutomatedXMLTree.java. I note the date of posting this code is 2004. Evidentially, XML is a moving target and moving fast. Using the XMLTree code in my choice of JDK 1.5 or 1.6, I get ---> [#document: null]. Because of all the different tools required, the choice of parser, the methodology, the JFC's latest changes, the w3org rewriting the xml specs, ad infintim, it strikes me there is a light year's worth of difference between code that ran in 1.42 and code that runs in 1.5. I searched the Sun forums and I find this insight: /* The parse() method doesn't return null, * "[#document: null]" is what's returned by toString() * method when you print it. * Call getDocumentElement() method for * the document returned by parse() to get * the root node of the document. */ Because .toString() is a method of everything JFC (for instance, any System.out.println() ) it is difficult for me to discover where in the .useful API I should be making modifications. Thu, 17 May 2007 09:46:08 GMT http://blogoforum.com/tag/computer+dotuseful+java+jtree+programming+swing+tree/the-jfc-changed-in-1-5-useful-needs-a-tweek-7349.html New dotuseful forum location http://blogoforum.com/tag/computer+dotuseful+forum+java+jtree+programming+swing+tree/new-dotuseful-forum-location-2666.html http://blogoforum.com/tag/computer+dotuseful+java+jtree+programming+swing+tree - this would be a better place for <a href="http://dotuseful.sourceforge.net">dotuseful Java tree library</a> forum. Old forum is at http://blogoforum.com/tag/dotuseful Mon, 31 Jul 2006 09:45:39 GMT http://blogoforum.com/tag/computer+dotuseful+forum+java+jtree+programming+swing+tree/new-dotuseful-forum-location-2666.html