A small chat client in Java and Swing