Programming a chat client in Java 1.6 for a school project.