[5979] in java-interest

home help back first fref pref prev next nref lref last post

System.in on Netscape

daemon@ATHENA.MIT.EDU (Juliano Junio Viana)
Thu Mar 7 15:12:20 1996

Date: Thu, 7 Mar 1996 14:54:53 -0300 (EST)
From: Juliano Junio Viana <jjv@dcc.ufmg.br>
To: java-interest@java.sun.com

Hello,


I'm writing a class to run with applets on Netscape 2.0.This class,by a 
couple of reasons,must only write to System.out and read from System.in.

Write to System.out is ok, the output goes to the java console.But the 
System.in.read() method always return -1 indicating that the end of the 
stream was reached.Is that the expected behaiviour of System.in on 
Netscape( i.e in Netscape the system.in is blocked,I don't know why) or 
is a problem with my version?

I,m using Netscape 2.0 on SunOs 4.1.3.

Thanks in advance...


      #       #  #    # Juliano Junio Viana
      #       #  #    # jjv@dcc.ufmg.br
 #    #  #    #   #  #   
  ####    ####     ##




-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post