Posted by
quantumlottie on
Jul 20, 2005; 2:35pm
URL: http://imagej.273.s1.nabble.com/Apply-Substract-background-to-all-files-in-subfolders-tp3705174p3705176.html
Hello
Sorry This isn't really an image problem but I'm using imagej and I can't get this to work.
I'm trying to get the user to input a name which the file the programe will go on to create will be named. I just want a box to pop up asking for the name to be typed in by the user and then that name kept and then used as the title.
I am using: System.out.println("What is the name?");
String userName = System.in.readln();
however it keeps coming up with an error: Method readln() not found in class java.io.InputStream.
Does this mean I need to add a package which will let me do this? Am I usingthe wrong command?
Lottie
========================================================================
http://www.international-marine.com International Marine Coatings.
http://www.international-pc.com International Protective Coatings.
http://www.yachtpaint.com International Yacht Coatings.
========================================================================
Confidentiality Note:
This message, including attachments, is confidential and
may be privileged. If you are not an intended recipient,
please notify the sender then delete and destroy the original
message and all copies. You should not copy, forward
and/or disclose this message, in whole or in part, without
permission of the sender. If you receive this e-mail message
in error please notify us immediately by e-mail at
[hidden email]