This week's book giveaway is in the Other Languages forum. We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line! See this thread for details.
Hi All, How can I make command line interface ( CLI ) In Java using JTextArea or JTextField. Thanks In advance.. Vikas Sahu
posted 12 years ago
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!