CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: JTree Question

  1. #1
    Join Date
    Mar 2000
    Location
    Kaysville, UT
    Posts
    228

    JTree Question

    Is it possible to create a JTree that has editable JTextFields and other objects at the nodes instead of plain text?

    Thanks!


    "There's nothing more dangerous than a resourceful idiot." ---Dilbert
    BWAHAHAHAHAHAHA! ---Murray

  2. #2
    Join Date
    Sep 1999
    Location
    Madurai , TamilNadu , INDIA
    Posts
    1,024

    Re: JTree Question


    > Is it possible to create a JTree that has editable JTextFields

    call jTree.setEditable(true) to get the editable tree nodes.
    To activate the text field to perform editing , you have to triple click the mouse on the node.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured