> Does anyone know how i can intercept a the input and output of a console
> programme so when it asked for an input i can send it a string and when it
> prints a response I can send it to a window such as a JEdit?
Look at java.lang.Process, particular the getXXXStream methods. These
should help you immensely ;)

Signature
You can't run away forever,
But there's nothing wrong with getting a good head start.
--- Jim Steinman, "Rock and Roll Dreams Come Through"
Darren - 14 Nov 2005 14:36 GMT
> > Does anyone know how i can intercept a the input and output of a console
> > programme so when it asked for an input i can send it a string and when it
> > prints a response I can send it to a window such as a JEdit?
>
> Look at java.lang.Process, particular the getXXXStream methods. These
> should help you immensely ;)
Much obliged. :)