Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

swing editing JTree nodes

 
Mark Hui
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JTree and it displays a popup menu when the node is right click, my question is when the user wants to edit that particular node and he/she chooses selects " rename" from the popup menu how do I get the carat displayed on that selected node for editing. or how do I cause an event so the JtextField on the node starts Editing without any further mouse clicks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic