Hello, I have developed a GenericTagListener class which (I Hope..) will help developers who frequently need to use JTrees in combination with other components in their GUI's Basically the idea is that there are 3 maps 1. Component Map 2. Value Map 3. Component Type Map In the component map you register a component key with a component. In the value map the listener will automatically register the value of the component in the map. The Component Type map is again done by you. Please let me know if anyone has any ideas to improve this code.