Thanks for the hint Ronald, I managed to succeed without looking how the console deals with it. They only thing missing was getting the image from the deployment in a comfortable and general way. So your hint helps a lot. I am now doing the image manipulation myself.
1. I get the process image as a stream.
2. I use ImageIO to instantiate a BufferedImage.
3. I call getGraphics() on the BufferedImage to get an Graphics Context
4. I use getActiveActivities() to get hold of the active tasks
5. I determine the positions of the active tasks via the API
6. I paint a red rectangle around each active tasks using drawRect() and the co-ordinates of the tasks
7. I display the image in my application
:)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257466#4257466
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257466
I must be doing something wrong since I don't see more in the log.
| handlers= java.util.logging.ConsoleHandler
| redirect.commons.logging = enabled
|
| java.util.logging.ConsoleHandler.level = FINEST
| java.util.logging.ConsoleHandler.formatter = org.jbpm.internal.log.LogFormatter
|
| org.jbpm.level=FINEST
| org.jbpm.pvm.internal.tx.level=FINEST
| org.jbpm.pvm.internal.wire.level=FINEST
| org.jbpm.pvm.internal.util.level=FINEST
|
| org.hibernate.level=FINEST
| org.hibernate.cfg.SettingsFactory.level=FINEST
| org.hibernate.cfg.HbmBinder.level=FINEST
| # org.hibernate.SQL.level=FINEST
| # org.hibernate.type.level=FINEST
| # org.hibernate.tool.hbm2ddl.SchemaExport.level=FINEST
| org.hibernate.transaction.level=FINEST
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257461#4257461
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257461