On your way in you may have missed that we have a policy on screen names here at JavaRanch. Basically, it must consist of a first name, a space, and a last name, and not be obviously fictitious. Since yours does not conform with it, please take a moment to change it, which you can do right here.
As to your questions, they look like homework that you should be doing. Nobody here is going to do them for you, although people will try to help you. So: What ideas have you had so far on solving these?
Ping & DNS - updated with new look and Ping home screen widget
Welcome to the group.I would surely help you but let me ask you, are you new to JAVA or are you new to programming? If you are new to programming then i would suggest you to go through any book of 'C' language which will explain you the basics of looping,condition checking etc like "for" loop,do...while etc,use it in your program(expecting at least you know how to write a class,method, creating an instance of a class). I think this will surely help you.