Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Generic Tag Listener - Request for Comment  RSS feed

Paul McKenna
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!