public final Level loadOnline(String var1, String var2, int var3) {
      if(this.progressBar != null) {
         this.progressBar.setTitle("Loading level");
      }

      try {
         if(this.progressBar != null) {
            this.progressBar.setText("Connecting..");
         }

         HttpURLConnection var6;
         (var6 = (HttpURLConnection)(new URL("http://" + var1 + "/level/load.html?id=" + var3 + "&user=" + var2)).openConnection()).setDoInput(true);
         if(this.progressBar != null) {
            this.progressBar.setText("Loading..");
         }

         DataInputStream var7;
         if((var7 = new DataInputStream(var6.getInputStream())).readUTF().equalsIgnoreCase("ok")) {
            return this.load((InputStream)var7);
         } else {
            if(this.progressBar != null) {
               this.progressBar.setText("Failed: " + var7.readUTF());
            }

            var7.close();
            Thread.sleep(1000L);
            return null;
         }
      } catch (Exception var5) {
         var5.printStackTrace();
         if(this.progressBar != null) {
            this.progressBar.setText("Failed!");
         }

         try {
            Thread.sleep(3000L);
         } catch (InterruptedException var4) {
            ;
         }

         return null;
      }
   }