Blogoforum - blog+forum on swing http://blogoforum.com/tag/swing Talk about swing What Help? http://blogoforum.com/tag/computer+java+jtree+programming+swing+tree+xml/what-help-4385.html Hey Dhanya! Welcome to Blogoforum! What help you do need with JTrees? Denis. - 1 reply Thu, 29 May 2008 02:42:41 GMT http://blogoforum.com/tag/computer+java+jtree+programming+swing+tree+xml/what-help-4385.html Need Help in Modification MultiRowHeaderExample http://blogoforum.com/tag//need-help-in-modification-multirowheaderexample-7488.html Hi, While searching over the net I came to cross MultiRowHeaderExample, which I like to embed in my application, but the code generate the JTable looks like this:<a href="http://www.codeguru.com/java/articles/223.shtml">Multiple row header</a>(click on it to see the code). and I would like to modify it according to my application requirements, which must looks like this: <a href="http://www.ppiusindh.org/multi/">ModifiedMultipleRowHeaderExample </a>(click on it to see the required JTable form) copy the <a href="http://www.ppiusindh.org/MultipleRowHeaderExample/">Java Code</a> Thou, I have hit and try but couldn't generate accurate JTable as shown in the above URL, therefore, I am enclosing code for you to help me out, or at least show me the way how to increase the column width to the accurate length of label. - 1 reply Thu, 26 Jul 2007 05:51:16 GMT http://blogoforum.com/tag//need-help-in-modification-multirowheaderexample-7488.html Dynamic JProgressBar http://blogoforum.com/tag/java+swing/dynamic-jprogressbar-8644.html Dear Experts, I have created Applet-Servlet Communication Application, where I am trying to save the data via servlet and in return it sending boolean value to the applet. So, I would like to implement a JProgressBar, which may display at the time of data saving and the value of JProgressBar increase as the boolean value returns from servlet. Here I need your help, that if any one have an example (either in Applet or Swing Application) of JProgressBar, which may increase bar value upto 10% via Thread notify()method on the boolean value returns in true and after increasing upto 10% get the Thread wait() for the next boolean value returns in true. I hope you will be understanding the problem, if still have any confusion, or any other ideal to take care of this problem then I am looking forward to you. Thanking you in advance Regards, M.A.Bamboat - 1 reply Thu, 26 Jul 2007 05:35:27 GMT http://blogoforum.com/tag/java+swing/dynamic-jprogressbar-8644.html 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 JTree Drag and Drop http://blogoforum.com/tag/in+is+it+java+purely+swing/jtree-drag-and-drop-6148.html Hi, all I have problem with JTree can u tell me how to reflect the JTree node transfer in File System. Means I have done a JTree aplication in swing and that needs to be drag and drop between twonodes that is happening but It should reflect in File System - 1 reply Fri, 20 Apr 2007 07:45:09 GMT http://blogoforum.com/tag/in+is+it+java+purely+swing/jtree-drag-and-drop-6148.html Help Needed http://blogoforum.com/tag//help-needed-4376.html Hi, I need some help with dynamic JTrees from XML. - 1 reply Mon, 27 Nov 2006 15:29:19 GMT http://blogoforum.com/tag//help-needed-4376.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 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