get out put of DOS prompt and print in JTextArea

Q: How can i get out put of DOS prompt and print in JTextArea...?

I am developing my own dos prompt i want same functionality as dos prompt perform.

I can execute commands and run applications but problem is that i want to get out put of command prompt against any command either it executes or not i want that out put .

your's truely

abdul

[381 byte] By [abdulkareema] at [2007-11-27 6:42:41]
# 1
http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
Jamwaa at 2007-7-12 18:12:53 > top of Java-index,Java Essentials,Java Programming...