[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: how to implement resizing of tree node (or any Box) by dragging its edge?
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?March 20, 2006 11:14 PM
thanks,
Anil
2 more in dotuseful java swing
RE: 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.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
+ add to your
Readings [?]
RE: how to implement resizing of tree node (or any Box) by dragging its edge?
Hey Anil,
April 21, 2006 12:14 PM
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 more in dotuseful java swing
- ReplyDynamic resizing of JTree editor component
Hey Anil,
May 26, 2006 4:15 PM
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 more in dotuseful jtree java swing
- Reply
Blogoforum -
del.icio.us