Help

S

samug

Hi,
I'm trying to do a communication program. I use ServerSocket.
I just can't figure out how to communicate between them.

I have a JTextArea where I show the output from the server and
the server consists of two classes the Server class and a Thread class.

Now, I should have access from the thread class to the JTextArea.
Any idea how this could be done ?

The main program is a Java Applet.
So at the moment there are 3 classes.

I know this could be done via RMI, but is that the
only solution?

Any better ideas how this could be done ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,229
Latest member
GloryAngul

Latest Threads

Top