Java communicator

Did you know that it is possible to write a simple chat for two people in Java, including GUI in less than 120 lines? Well, I didn’t. Here is the code. Two hours of work :)

I have been thinking about writing multiplayer for my Magic the Gathering. I have started reading about RMI but I was too tired to get through it. Then I remembered sockets I used in my alarm manager and extended a bit what I used there. If you would like to test it on your local machine, use IP “127.0.0.1” or just write “localhost”. Compiled jar file available here.

About Jaroslaw Pawlak

I have done MSci in Computer Science at King’s College London and currently work as Software Engineer specialising in Java. I spend most of my time in front of computer improving my programming (and other) skills or just relaxing with a good game. I also train some sports but at the moment I am not a member of any club. I love cycling and volleyball, but I have also played a lot of football, tennis and trained martial arts.

Posted on August 28, 2011, in My Projects. Bookmark the permalink. 1 Comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: