DefaultMutableTreeNode-Text is too long?

前端 未结 2 1797
半阙折子戏
半阙折子戏 2020-12-22 06:55

I have some DefaultMutableTreeNode\'s. While the programm\'s running, I can change the text and revalidate it. But if the text is too long, so for example the text \"tested\

2条回答
  •  暖寄归人
    2020-12-22 07:42

    • you have to read tutorial about JTree, and examples how to use TreeCellRenderer

    • if you'll real question then please update your question and add there the code in SSCCE form

提交回复
热议问题