|
|
How to create a command prompt in java ?
Hi,
I want to create a command prompt in java. I have a set of functions
in an application, the idea is to have the user input certain commands
on the prompt, based on which certain funcations can be called. To
make this more clear, suppose I have two functions for matrices add
and multiply. If A and B are two nxn matrices then the user can add
and multiply them as follow:
commandprompt> add A B
commandprompt> multiply A B
How can I design such a command prompt ? Is there any tutorial, I
tried searching on google but the links were of no use.
TIA,
Darth
|
|
0
|
|
|
|
Reply
|
Akki
|
1/17/2008 2:28:44 PM |
|
On Thu, 17 Jan 2008 06:28:44 -0800 (PST), Akki
<lodhaakhil85@gmail.com> wrote, quoted or indirectly quoted someone
who said :
>How can I design such a command prompt ? Is there any tutorial, I
>tried searching on google but the links were of no use.
Just use readLine.
see http://mindprod.com/applet/fileio.html
--
Roedy Green, Canadian Mind Products
The Java Glossary, http://mindprod.com
|
|
0
|
|
|
|
Reply
|
Roedy
|
1/17/2008 6:18:52 PM
|
|
|
1 Replies
308 Views
(page loaded in 0.057 seconds)
Similiar Articles: How to create a command prompt in java ? - comp.lang.java.gui ...Hi, I want to create a command prompt in java. I have a set of functions in an application, the idea is to have the user input certain commands on th... How to center a prompt box?? - comp.lang.javascriptPetesman wrote: > I am trying to make a prompt that will ask the user for some input... ... re; Is there a way to center text in a combo box? - comp.lang.java ... Is there a ... How pass a newline character as an argument to a command? (in bash ...How to create a command prompt in java ? - comp.lang.java.gui ... How pass a newline character as an argument to a command? (in bash ... Howto read newline character ... open another jframe - comp.lang.java.guiThe first JFrame is a command prompt. Where I want to write draw f(x). Then I want to open ... by clicking JButton Follow Hello everybody, I'm writing a program in Java, in ... how to pass command line arguments to makefile - comp.unix ...How to create a command prompt in java ? - comp.lang.java.gui ... how to pass command line arguments to makefile - comp.unix ... I have to execute a command in a makefile ... How can I get a Javascript command to run a Shell script? - comp ...On the other hand, if I use the same command for forwarding to a link (just to make an example) it ... How to get system information from command line/script ? - comp ... ... how to create a symbolic link in linux at runtime using java ...hai friend...i want help for the topic,how to create a Symbolic Link in linux atruntime using java.the code ... cuts in windows,u can createsymbolic link by using command ... Populate form-fillable pdf from command line - comp.text.pdf ...I'd like to make a form-fillable pdf, fill in some fields with a command- line script and ... like iText is probably my best option, even though I've never done any Java ... [LogoForum] How to edit the command line in Berkeley Logo for ...Does anybody know how to edit the command line in ucbwlogo.exe, so that, for example, if I type at the command line ? repeat 50 [setcursor list random 75 random 20 type ... Java Runtime.exec() and sudo. - comp.lang.java.programmer ...Hi,I'm trying to run a unix script from the java ... So by using a String array, you can make sure the command gets ... command within quotes on the (interactive) command line ... how to make command prompt in java - Activity Stream - Java ...need your help please, i want to make an application like command prompt (windows terminal) in java, but my project does't goes well because my Java and the Windows Command Prompt - Introduction to Programming ...Java and the Windows Command Prompt This page is obsolete. This document instructs you on how to use the Windows Command Prompt with Java. These instructions are ... 7/23/2012 7:08:57 PM
|
|
|
|
|
|
|
|
|