Blogoforum - blog+forum on dotuseful, java, jtree and swing http://blogoforum.com/tag/dotuseful+java+jtree+swing Talk about dotuseful, java, jtree and swing 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 Dynamic resizing of JTree editor component http://blogoforum.com/tag/dotuseful+java+jtree+swing/dynamic-resizing-of-jtree-editor-component-1059.html Hey Anil, Found a thread which can be helpful to you. Take a look at http://forums.java.net/jive/thread.jspa?threadID=15042&tstart=15 Denis Krukovsky talkinghub - 1 reply Mon, 05 Jun 2006 07:02:30 GMT http://blogoforum.com/tag/dotuseful+java+jtree+swing/dynamic-resizing-of-jtree-editor-component-1059.html RE: RE: RE: how to implement resizing of tree node (or any Box) by dragging its edge? http://blogoforum.com/tag/dotuseful+java/re-re-re-how-to-implement-resizing-of-tree-node-or-any-box-by-dragging-its-edge-642.html Yes, if the user drags the border - just as in a JFrame. Dont misunderstand me but it will be good if you can implement this functionality for dotuseful, otherwise dotuseful will be not useful. We are looking for dotuseful to provide us with functionality that can be useful to us - without all of us reimplementing the wheel. thanks, Anil - 2 replies Fri, 26 May 2006 16:15:26 GMT http://blogoforum.com/tag/dotuseful+java/re-re-re-how-to-implement-resizing-of-tree-node-or-any-box-by-dragging-its-edge-642.html