DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3

Thread: treecontrol

  1. #1
    alex cad1374 Guest

    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

  2. #2
    Paul Clapham Guest

    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




  3. #3
    aVann Guest

    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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


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


Sponsored Links