 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Rui Pacheco Guest
|
Posted: Thu Nov 06, 2003 10:09 am Post subject: JTree branches and leafs |
|
|
When I create a node in a JTree how can I make sure it's a node or a branch?
|
|
| Back to top |
|
 |
Antti S. Brax Guest
|
Posted: Thu Nov 06, 2003 10:27 am Post subject: Re: JTree branches and leafs |
|
|
[email]ruipacheco (AT) hotmail (DOT) com[/email] wrote in comp.lang.java.gui:
| Quote: | When I create a node in a JTree how can I make sure it's a node or a branch?
|
Your TreeNode knows it. Check it's API documentation.
--
Antti S. Brax - asb(at)iki.fi Rullalautailu pitää lapset poissa ladulta
http://www.iki.fi/asb/ http://www.cs.helsinki.fi/u/abrax/hlb/
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|