I want to create a jTree which when i right click on a node, should give me the options of "rename","add Region(parent)","add City(child)".

the name of my jTree is branches

As i am new to swing,Could any one help with code. Thanks in Advance.

Regards, Sarkwa

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.