Ping in Java

I was sitting at work the other day and was trying to find a program to ping that would remember what I had just pinged along with remembering other sites I needed to ping.  I went looking for a simple java program to do this but never found one.  There were a couple that utilized windows dll files but I could never find a pure java pinging program.  I read into it more and found out java does not support the ping function.  So I of course had to create a program that would ping, exclusively using java(well, I did cheat and use the windows pinging function because I was in a hurry and I really cared about was keeping track of what I just pinged and from other days). 

The reason this is useful is for my support I need to ping sites to see if they are up.  That requires me to find the site name, look for it's ip address, open a command prompt and ping the ip.  I figure, why not do that once and simply select the site name from a drop down after that.  So that is what this program does.  It will only work with windows because of the batch files it creates and uses.  You can probably edit those for unix and alike but I don't have time now to make that.  View the screenshots below to see how this program looks.

You can add a site:

Remove a site or ping a site and choose the number of pings:

This is what the ping does, simply creates a batch file and calls it:

Now you can see this program wasn't that hard to create but it was worth it for what I need it for.  Maybe you can find a use for it also.  Download it here:

Download Now

Programs

Home