Java exception occurred: java.lang.​IllegalSta​teExceptio​n: node does not allow children

Hello,
I am trying to create a node tree. In the script, I created the root of the tree and added several nodes to it. However when I use the recursive function: this function will create more nodes for the tree itself, I am receiving this error
Java exception occurred:
java.lang.IllegalStateException: node does not allow children
at javax.swing.tree.DefaultMutableTreeNode.insert(DefaultMutableTreeNode.java:175)
at javax.swing.tree.DefaultMutableTreeNode.add(DefaultMutableTreeNode.java:411)
Does anyone know what it means?

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMigrate GUIDE Apps についてさらに検索

質問済み:

2019 年 2 月 12 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by