Thank for replaying kukeltje. e.g. when you do a Swing JTree you should create instances of class the DefaultMuteableTreeNode. You associate a custom objetc to each DefaultMuteableTreeNode and if an event occurs on the tree ( supposing it's a node selection event ) by having the selected DefaultMuteableTreeNode you call the node.getUserObject() and that way get your custom Object.
Well... my jbpm app have several task nodes in its flow but each task node can be "different" for MY app. I will do know it's a task node when the execution point reaches a task node, but that's not enough for my app since I have to know what task node "subtype" is. That's why I wanted to know if there's some way to associate a custom object to a task node like the DefaultTreeNode does. Thanks Regards, Sebastian. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3942872#3942872 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3942872 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
