Article View: borland.public.jbuilder.java.swing
Article #602Keyboard Input?
From: Vander
Date: Wed, 16 Mar 2005 09:22
Date: Wed, 16 Mar 2005 09:22
6 lines
1410 bytes
1410 bytes
Perhaps a bit off the swing topic, but I wonder if it is possible to obtain direct keyboard character/signal input from the console. System.in only reads lines of text and echoes all characters. For a commandline utility I need to perform password input, so to echo only "*" instead of the text. - Can somebody know a solution or can give me directions? Thanks!
Technical Details
Message-ID:
<4237faa1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!news.glorb.com!newshosting.com!nx02.iad01.newshosting.com!38.144.126.100.MISMATCH!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 111d45,4ed6eade21edc20e,start X-Google-Attributes: gid111d45,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 16 Mar 2005 10:22:12 +0100 From: Vander <874505@gmx.de> User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: de,en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing Subject: Keyboard Input? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 193.158.179.57 Message-ID: <4237faa1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1110964897 193.158.179.57 (16 Mar 2005 01:21:37 -0800) Lines: 7 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!news.glorb.com!newshosting.com!nx02.iad01.newshosting.com!38.144.126.100.MISMATCH!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail