created OnlineChecker.java, which displays green UP if there is internet and red DOWN if there is no internet