Don't think its possible in java not to print the characters while accepting input on the command line. I remember having this requirement and I couldn't find a solution for the same.
Cheers Sachin Pandey NUIX Pty Ltd Level 8, 143 York Street, Sydney 2000 Phone: (02) 92839010 Fax: (02) 92839020 Disclaimer: This message is intended only for the named recipient. If you are not the intended recipient you are notified that disclosing,copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. ----- Original Message ----- From: "Vikramjit Singh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 04, 2002 3:35 PM Subject: Re: Slightly out of topic question > > -----Original Message----- > > From: Cohen Brian [mailto:[EMAIL PROTECTED]] > > Sent: Friday, August 23, 2002 6:06 AM > > To: [EMAIL PROTECTED] > > Subject: Slightly out of topic question > > > > > > Hi, > > > > Just a small question. Is it possible to avoid > > printing characters > > to the screen while accepting input from a keyboard, in JAVA? > > are you talking in html form, then i dont think that it is possible in java. > Yeah in javascript it is possible. You can use the onKeyPress event to check > the key code. > If your are talking about an application, then check out the api's. > > > > Regards and thanks > > > > Brian > Vikram. > > > > ______________________________________________________________ > > _____________ > > To unsubscribe, send email to [EMAIL PROTECTED] and > > include in the body > > of the message "signoff SERVLET-INTEREST". > > > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > > Resources: > http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > > ___________________________________________________________________________ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
