title: Is it possible to make command prompt in Java?
body: <p>I would just like to know whether it is possible to make a command prompt in Java.
  My friend asked to make it, I wanted to know if it was possible or not. If it is possible, can someone suggest me some api or something? Thank you.</p>
  
  <p>EDIT: I want to make it similar to windows command prompt</p>
  
  <p>EDIT 2: I would like to make a SWING GUI application and put a command prompt inside of it.</p>