Removed line

This commit is contained in:
Jeroen Ketelaar
2014-02-18 19:31:29 +01:00
parent 2018d03c11
commit 39cc7f735a
2 changed files with 1 additions and 1 deletions
@@ -7,7 +7,6 @@ package org.parabot.core.spoofer;
*/ */
public class Proxy { public class Proxy {
public static void setProxy(String host, int port){ public static void setProxy(String host, int port){
System.getProperties().put("proxySet", "true");
System.getProperties().put("proxyHost", host); System.getProperties().put("proxyHost", host);
System.getProperties().put("proxyPort", port); System.getProperties().put("proxyPort", port);
} }
@@ -102,6 +102,7 @@ public class NetworkUI {
return; return;
} }
Proxy.setProxy(proxyHostField.getText(), Integer.parseInt(proxyPortField.getText())); Proxy.setProxy(proxyHostField.getText(), Integer.parseInt(proxyPortField.getText()));
frame.setVisible(false);
} }
} }
}); });