The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

MaceWindu (1) [Avatar] Offline
Good book, but I was working with the client code and I got to the point in Chapter 4 where I could send my own messages through my own Swing Client(I realized that I could replace the messenger handler with a client that implemented the packetlistener interface) but I can't get the sending client to update its own client with the message that it sent the other client! (If that makes any sense)This is extremely frustrating. I've been trying to come up with clever addHistory(),getHistory(),and addMessageHistory()methods but nothing works. Can you help? Could you give me hint? should I just use Smack? and build from there. Or was the SimpleMessageClient intended to send a message to itself?

Thank you,