Instant Messaging Program written in Java