Java进阶之树详解
树树组件类JTree----树节点接口TreeNode-----通用节点类DefaultMutableTreeNode1.创建树节点DefaultMutableTreeNode()DefaultMutableTreeNode(Object userObject)DefaultMutableTreeNode(Object userObject,boolean allowsChildren)------(节点使用数据,是否允许有子节点)DefaultMutableTreeNode root;roo
原创
2021-02-27 16:48:12 ·
254 阅读 ·
0 评论