private void netTest() throws InterruptedException{
        URL netTest = null;
       try{        
           netTest = new URL("http://themoneyconverter.com");
       } catch(MalformedURLException e){
          
           System.out.println(e+"test");}
    try {
        InputStream xml = netTest.openStream();
    } catch (IOException ex) {
        Logger.getLogger(XmlParser.class.getName()).log(Level.SEVERE, null, ex);
        stop();
    }
    }