how to write a java code for pinging the routers in JCreator:)