Curious, got a link to source?
Using an existing websocket library, that chat client, with multithreading, should be a handful of lines in Java. Even writing the raw socket handling yourself, with multithreading, should only be a few classes and maybe 500 lines...
I still write copious amounts of Java for work and Java is still horrid.