Blogoforum - blog+forum on dotuseful http://blogoforum.com/tag/dotuseful Talk about dotuseful 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 RE: how to implement resizing of tree node (or any Box) by dragging its edge? http://blogoforum.com/tag/dotuseful+java+swing/re-how-to-implement-resizing-of-tree-node-or-any-box-by-dragging-its-edge-700.html Hey Anil, Got your email with a program. That's a pretty uncommon task you have. I think you will need to accomplish it by yourself! If you want you can make your contribution to dotuseful then. A small hint: you might look at how Swing resizable containers work. Good luck! Denis Krukovsky. - 1 reply Mon, 05 Jun 2006 07:05:42 GMT http://blogoforum.com/tag/dotuseful+java+swing/re-how-to-implement-resizing-of-tree-node-or-any-box-by-dragging-its-edge-700.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 Thanks http://blogoforum.com/tag/dotuseful/thanks-1004.html Thanks for your AutomatedTreeModel/Node class. It stopped hours of painfull JTree suffering! Richard - 1 reply Thu, 25 May 2006 11:02:37 GMT http://blogoforum.com/tag/dotuseful/thanks-1004.html RE: RE: how to implement resizing of tree node (or any Box) by dragging its edge? http://blogoforum.com/tag/dotuseful+java/re-re-how-to-implement-resizing-of-tree-node-or-any-box-by-dragging-its-edge-517.html Not so, each node has two JTextAreas where one can type into. so we do need to enlarge and shrink each node. Do you know how? thanks, Anil - 2 replies Wed, 12 Apr 2006 14:32:26 GMT http://blogoforum.com/tag/dotuseful+java/re-re-how-to-implement-resizing-of-tree-node-or-any-box-by-dragging-its-edge-517.html RE: how to implement resizing of tree node (or any Box) by dragging its edge? http://blogoforum.com/tag/dotuseful+java/re-how-to-implement-resizing-of-tree-node-or-any-box-by-dragging-its-edge-509.html Hi Anil, The new dotuseful forum is here. Quick answer is that I think you would not to resize a tree node by dragging it. What you can think about is to resize a container you have your JTree in. You can try putting your JTree into JSPlitPane for example. Denis Krukovsky. - 1 reply Mon, 20 Mar 2006 23:14:07 GMT http://blogoforum.com/tag/dotuseful+java/re-how-to-implement-resizing-of-tree-node-or-any-box-by-dragging-its-edge-509.html how to implement resizing of tree node (or any Box) by dragging its edge? http://blogoforum.com/tag/dotuseful/how-to-implement-resizing-of-tree-node-or-any-box-by-dragging-its-edge-504.html Hello I notice there are 2 forums for dot useful? Which one to use? ---------- Hello, Suggestion: implement resizing of tree node (or any Box) by dragging its edge. Each node of my JTree contains JPanels in a Box. But actually, this is a general question. Is there a 'best' way to implement resize of a container by dragging its edge? This might be a good enhancement to dot-useful. I dont know how the details of how to implement this. Do you know exactly how? Please email if you have a solution. thanks, Anil - 3 replies Mon, 20 Mar 2006 16:58:46 GMT http://blogoforum.com/tag/dotuseful/how-to-implement-resizing-of-tree-node-or-any-box-by-dragging-its-edge-504.html dotuseful forum now on talkinghub http://blogoforum.com/tag/dkrukovsky+dotuseful/dotuseful-forum-now-on-talkinghub-413.html We will post questions regarding dotuseful library here. The dotuseful library: http://dotuseful.sourceforge.net/ New dotuseful forum: http://talkinghub.com/forum/tag/dotuseful.html Old dotuseful forum: http://sourceforge.net/forum/?group_id=112019 Wed, 15 Mar 2006 16:14:49 GMT http://blogoforum.com/tag/dkrukovsky+dotuseful/dotuseful-forum-now-on-talkinghub-413.html