An instant messenger application writing with Java