Hi Vikas, Someone may already have done this work, but I just played with a JTextArea and a document listener just to see what that's all about.
I found it interesting to highlight a bit of code and then paste a letter to replace that highlighted area. You could combine that with ta.getText() to see what cli input was made when the last character is a cr. Ed
The nice thing about Standards is that there are so many to choose from!
subject: How can I make command line interface (CLI)