I am trying to develop an application to capture the data stream which is received by a Java based application and insert it in another application. The Java application is running in a browser I made using the WebBrowser control.

Could you give me some ideas on how to capture the stream of data and maybe convert it to something usable?

Thank you,