Forums Register Login

please please..make this in applet.

+Pie Number of slices to send: Send
please can you make this in applet. i wanted it take text from the textfield and show it in a textarea. please help me..

import java.io.*;
class rima
{
public static void main(String args[])throws IOException
{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));

String str;

System.out.println("enter text:");
System.out.println("enter stop to quit");

do
{
str=br.readLine();
System.out.println(str);
}
while(!str.equals("stop"));
}
}
+Pie Number of slices to send: Send
"nima",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.
Thanks.
No one can make you feel inferior without your consent - Eleanor Roosevelt. tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 583 times.
Similar Threads
Problem while using FileReader to read a file
Applets & Sockets .The Security Issue Of JAVA.
Reading from STDIN
small IO problem
Getting input with instructor code isn't working as I would expect...
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 06:20:21.