In this section, you will learn to make JTree editable nodes.
Tutorial Details:
For example. . If you want to edit the name of a tree node then the following program will help you a lot.
This program constructs a JTree that contains editable nodes. Firstly, it defines a class JTreeEditable. Here we have used the init() method to create the nodes (Root, open, close, save, save as, and exit) of the tree.
Rate Tutorial: http://www.roseindia.net/java/example/java/swing/JTreeEditable.shtml
Read
Tutorial at: Click here to view the tutorial
Rate Tutorial: Editable JTree
View Tutorial: Editable JTree
Related
Tutorials:
|