Real-time java genereated html text into swf? Help

Hello -
I am trying to build a mouse-tracker which shows the x&y coords of the mouse moving around the screen.
I want to show the coords of the entire screen & have them in text fields in my swf.

Using Java I have built a basic mouse tracker that shows these values in text boxes of a html form.

What I want to know is how would I get flash to grab these values in real time to show in my swf?

Does anyone know an ‘easy’ way to tackle this? Maybe even a difficult way? :ponder: