Thanks Shyam. Thats already considered for the console JInternalFrame in which all public messages appear. But the thing is when new internal frames are open. I can identify them with no problem, but i can not identified its JScrollPane/JTextArea inside the new internal frames. Here is the code:
When a user sends a message to the client, it opens an internal frame with the user's name in the Title, but thats as far as i could get, still dont know how to identify the JScrollPane and the JTextArea requested in order to add the text thru addmsg method.
Any hint?
Regards,
-=Raul=-
PD. this is my very first applet in
java, but I do other languages. I am still getting a little bit confused.