🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #8392

System.in

#8392
From: Tami Poupko
Date: Tue, 20 Mar 2001 22:57
7 lines
989 bytes
Is it possible to set System.in to equal a string which we pick rather
than letting the system read the user's input from the keyboard?
I am trying to set System.in to read a password without the user having
to type it in.
Thanks.

Tami
Technical Details
Message-ID: <3AB7E05E.D4BDD552@udscorp.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!sn-post-01!supernews.com!corp.supernews.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,39c956395fe90f1f,start
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-03-20 13:06:23 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: Tami Poupko <Poupko@udscorp.com>
Newsgroups: borland.public.jbuilder.java.language
Subject: System.in
Date: Tue, 20 Mar 2001 14:57:34 -0800
Organization: Ultramar Diamond Shamrock
Message-ID: <3AB7E05E.D4BDD552@udscorp.com>
Reply-To: Poupko@udscorp.com
X-Mailer: Mozilla 4.5 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: newsabuse@supernews.com
Lines: 8