-
treecontrol
I'm trying to create a treecontrol. If I have in a root node three childs
and I want everytime that I select one of the three childs to display a frame.
How would I do that?
for example:
-RootNode
|_ child1 display Frame1
|_ child2 display Frame2
|_ childe display Frame3
-
Re: treecontrol
If you are using a JTree, then you need something that implements
TreeSelectionListener to find out when a node is selected.
PC2
<alex cad1374> wrote in message news:3a01c356$1@news.devx.com...
>
> I'm trying to create a treecontrol. If I have in a root node three childs
> and I want everytime that I select one of the three childs to display a
frame.
> How would I do that?
> for example:
>
> -RootNode
> |_ child1 display Frame1
> |_ child2 display Frame2
> |_ childe display Frame3
-
Re: treecontrol
"alex" cad1374 wrote:
>
>I'm trying to create a treecontrol. If I have in a root node three childs
>and I want everytime that I select one of the three childs to display a
frame.
>How would I do that?
You've got an nice example on the multimania's web site:
http://www.multimania.fr/webmaster/c...000/41/1.phtml
Maybe you'll have to login first.
This tree control is Java1.1 compatible.
--
Arnaud
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks