how to know that our system is connected to internet using java

hi can any one help me how to know that our system is connected to intenet and also how to get spped of the intenet connectionI am anil send me mail to anilnaidu_sri@yahoo.co.inbyeBy Anil
[222 byte] By [srinivas_budha@yahoo.coma] at [2007-10-3 1:33:01]
# 1
i am also facing the same problem pls help us....
vp_anila at 2007-7-14 18:30:58 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2
Either thats a typo or you want something likeURL url = new URL(" http://www.intenet.com/");URLConnection connection = url.openConnection()); http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html#openConnection()
tschodta at 2007-7-14 18:30:58 > top of Java-index,Java HotSpot Virtual Machine,Specifications...