jQuery in Action, 2nd edition*
The moose likes Swing / AWT / SWT and the fly likes Generic Tag Listener - Request for Comment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Generic Tag Listener - Request for Comment" Watch "Generic Tag Listener - Request for Comment" New topic
Author

Generic Tag Listener - Request for Comment

Paul McKenna
Greenhorn

Joined: Jan 17, 2003
Posts: 8
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Generic Tag Listener - Request for Comment
 
Similar Threads
JTable usage
Dynamic class type declaration
JFormattedTextField MaskFormatter issues: Please Help its urgent
is it worth adding a class to distinguish types
How to use struts custom tags to handle this scenario?