My own treenode with extra properties

How can I make my own treenode with some added custom properties?

Something like this...?

class MyTreeNode extends DefaultMutableTreeNode {

Open in new window

Who is Participating?
girionisConnect With a Mentor Commented:
What properties do you need to add? Extending the DefaultMutableTreeNode is the right step.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.