i need to check the connectivity in my swt browser using java...can anyone please send me the all code in how to do it