How to read from Runtime application?

If i m opening a calculator by using the Runtime class then how is it possible to read the value from it....... That is suppose if i Press 1 than how can i get the value in my program... please help me out........ . . . .
[242 byte] By [jignesh20a] at [2007-10-1 0:42:29]
# 1
You could start by reading the Runtime API and let it guide you to the Process API...
CeciNEstPasUnProgrammeura at 2007-7-8 0:56:46 > top of Java-index,Security,Event Handling...