File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Program mod w/o command line arguments Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Program mod w/o command line arguments" Watch "Program mod w/o command line arguments" New topic
Author

Program mod w/o command line arguments

Rocky Wise
Greenhorn

Joined: Sep 03, 2002
Posts: 1
What is the proper way to modify the program to eliminate the command line arguments and the standard input is used?

[ September 03, 2002: Message edited by: Marilyn de Queiroz ]
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
You need to put in a bit of code which types out a line asking the user to type the input on the console, and then read it in using the console.


"JavaRanch, where the deer and the Certified play" - David O'Meara
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9047
    
  10
Here's something I found on the web one time that might help.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Program mod w/o command line arguments