Win a copy of Hello World this week in the Python forum!

sushant sawant

Greenhorn
+ Follow
since Apr 28, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by sushant sawant

theSocket=new Socket(e.inet,thePort);
in=new BufferedReader(new InputStreamReader(theSocket.getInputStream()));
out=new PrintWriter(new OutputStreamWriter(theSocket.getOutputStream()),true)
create input and oupput stream like this
and then get ur username from textfield like
uname=tf1.getText();
and then send it to server with some initial string before it
so server can understand that it is username
like and get username from tht i think this much is enough.
out.println("#"+uname);
thanks 4 thanks
This is wrt a chat project. I have created a canvas object which displays images (icons) with text as input by the user. This is added to a scrollpane. The problem is when the scrollbar is moved only the last line of the conversation is painted and the portion above the last line is lost. Kindly reply asap.
18 years ago
This is wrt a chat project. I have created a canvas object which displays images (icons) with text as input by the user. This is added to a scrollpane. The problem is when the scrollbar is moved only the last line of the conversation is painted and the portion above the last line is lost. Kindly reply asap.
18 years ago