This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
The moose likes Sockets and Internet Protocols and the fly likes Chat System Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Chat System" Watch "Chat System" New topic

Chat System

Ransika deSilva
Ranch Hand

Joined: Feb 18, 2003
Posts: 524
Hello all,
I have written a client/server system which is some way similar to Yahoo Chat. I have written the code for the public chat. I just want to have a private chat facility as well. In the current system the use can see the other online users. It is displyed using a JList. The problems I am having is listed bellow.
1) How to make a window pop up when a message comes to a client from a another client.
2) If the client exits what to do to inform the other client who was having the private chat.
Hope you can understand what I am talking here.
Thank you very much for your time ...

SCJP 1.4, SCMAD 1.0<br />SCWCD, SCBCD (in progress)
I agree. Here's the link:
subject: Chat System