Results 1 to 1 of 1
- 06-01-2012, 06:52 AM #1
Member
- Join Date
- Apr 2012
- Posts
- 37
- Rep Power
- 0
Private messages module in a chat application
I am finishing a Java application that consists of a program that connects to an IRC room in order to chat with other users... I am using a Jtextpane to process and show the lines sent and received to and from the server... it is really easy to get the private messages in that same jtextpane, but I want it to be a little bit more private, I am using netbeans and I designed a jframe to receive the privates and send responses to an specific user...
The problem is that I don't know how to get the program to process the lines from the same user and send them to the private messages class that corresponds to that user...
Basically I need someway to identify the class that was created so the program sends the line there and not to other one...
Someone said: Use a hashmap, is that what I need?
Similar Threads
-
Messages not received by chat client.
By eLancaster in forum NetworkingReplies: 7Last Post: 06-22-2011, 05:12 PM -
Two-way chat, how can I be able to send messages?
By Vortexnl in forum New To JavaReplies: 4Last Post: 02-05-2011, 09:21 PM -
can't send messages correctly [chat]
By michail in forum New To JavaReplies: 1Last Post: 05-11-2010, 10:24 AM -
How to implement private chat application using jsp
By PortalTeam in forum JavaServer Pages (JSP) and JSTLReplies: 9Last Post: 02-19-2010, 10:49 PM -
Help sending messages using TCP with small chat application
By Ernie- in forum NetworkingReplies: 7Last Post: 03-28-2009, 06:20 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks