Java中的动态树 [英] Dynamic tree in java
本文介绍了Java中的动态树的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在Java中动态创建树,并且必须执行(在树节点上的更新功能)
i want to create tree dynamically in java.and have to perform the(update functions on tree nodes)
Can any one help me to write the coding.
推荐答案
在运行时(将创建树时)读取树的结构.
组成一个方法"updateView()".用该方法刷新完整的GUI.
如何使用树-Java教程 [
Read the structure for the tree at runtime (when the tree will be created).
Make up an method "updateView()". refresh the complete GUI in that method.
How to use Tree - the Java Tutorials[^]
这篇关于Java中的动态树的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文