Chat progr : printwriter problem
- From: "christophe van huele via JavaKB.com" <forum@xxxxxxxxxxxxxxxxx>
- Date: Sat, 30 Apr 2005 14:34:06 GMT
Hi,
I'm currently writing a chat program, and I have some problems with getting
end sending text. I have a thread that reads a text line and sends it to
the server or to my output window; depending on what arguments i enter.
My arguments in the class of the tread are a BufferedReader and a
PrintWriter. But what should I give as argument in PrintWriter an
BufferedReader??
Not System.out or System.in, because that's for command-line stuff..
I have a string from my JTextField that must be submitted.
Can anyone help me?
--Christophe.
.
- Prev by Date: offscreen JFrame snapshot - missing window decorations
- Next by Date: Simple jButton question.
- Previous by thread: offscreen JFrame snapshot - missing window decorations
- Next by thread: Simple jButton question.
- Index(es):