Search for System.in. This is the input from console
On 12/06/2009 02:27 PM, Pete Morris wrote:
> I'm feeling very foolish,
>
> How do you take a line of input from the keyboard? I'm OK with the Swing methods, but how is it done in a 'console' application? The only way I've discovered to do this is by passing in the stuff with command line args; this is untenable for extended data entry.
>
> I come from a world where library functions (AKA class methods) can be called to return a character or line of text, directly into a local variable. I want a method (AKA function) to do that.
>
> I'm hoping some kind soul will disclose this hidden method (I've spent the evening scouring the Sun site at http://java.
>
> Pete Morris
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------
>
> Visit http://aiaiai.
> Java Official Group is created for the following topics: Java 2 Enterprise Edition - J2EE, Java 2 Standard Edition - J2SE, Java 2 Micro Edition - J2ME, XML, XSL, XSD, XPATH, Web Services, Jini, JXTA for all type of Java Geeks.
> Whoever posts spam / ads / job related message will be BANNED IMMEDIATELYYahoo! Groups Links
>
>
>
>
>
Java Official Group is created for the following topics: Java 2 Enterprise Edition - J2EE, Java 2 Standard Edition - J2SE, Java 2 Micro Edition - J2ME, XML, XSL, XSD, XPATH, Web Services, Jini, JXTA for all type of Java Geeks.
Whoever posts spam / ads / job related message will be BANNED IMMEDIATELY
No comments:
Post a Comment