How to get windows cmd output in java jabel give source code

Deepak_54

Distinguished
Mar 4, 2011
1
0
18,510
Hello,
hello sir,
we want to access the command from command prompt using java.
Accessing means command prompt output should be copied any component of java.