Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 177
  • Last Modified:

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

0
pdering
Asked:
pdering
1 Solution
 
girionisCommented:
What properties do you need to add? Extending the DefaultMutableTreeNode is the right step.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now