[show
older messages in this discussion]
[hide
older]
how to implement resizing of tree node (or any Box) by dragging its edge?
Hello I notice there are 2 forums for dot useful?March 20, 2006 4:20 PM
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 more in dotuseful javaRE: how to implement resizing of tree node (or any Box) by dragging its edge?
Hi Anil,March 20, 2006 4:58 PM
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 more in dotuseful javaRE: RE: RE: how to implement resizing of tree node (or any Box) by dragging its edge?
Yes, if the user drags the border - just as in a JFrame.April 12, 2006 2:32 PM
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 more in dotuseful jtree java swing
RE: how to implement resizing of tree node (or any Box) by dragging its edge?
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.
+ add to your
Readings [?]
RE: how to implement resizing of tree node (or any Box) by dragging its edge?
Denis,
June 5, 2006 7:05 AM
Do you want dotuseful to be useful?
in dotuseful java swing
- Reply
Blogoforum -
del.icio.us