aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes How can I make command line interface (CLI) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How can I make command line interface (CLI)" Watch "How can I make command line interface (CLI)" New topic
Author

How can I make command line interface (CLI)

Vikas Kumar Sahu
Ranch Hand

Joined: Dec 02, 2003
Posts: 59
Hi All,
How can I make command line interface ( CLI ) In Java using JTextArea or JTextField.
Thanks In advance..
Vikas Sahu
Eddie Vanda
Ranch Hand

Joined: Mar 18, 2003
Posts: 281
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can I make command line interface (CLI)
 
Similar Threads
need to parse command line parameters in my code
best practises/patterns for gui development
where can we find commonsExecute .jar
xml schema like validation check
Command line arguments help.