Last active
March 10, 2019 12:22
-
-
Save ezhov-da/a69656d2e70027a3ce88388bb4a40caf to your computer and use it in GitHub Desktop.
java jtree работа с treepath
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<pre> | |
При работе с деревом бывает необходимость раскрывать определенные ветки. | |
Хорошей для меня практикой считается наследование объекта от DefaultMutableTreeNode и реализация методов equals и hashCode. | |
В таком случае мы имеем полностью настроенный для нас Node дерева. | |
</pre> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment