Skip to content

Commit 87c1e47

Browse files
committed
system proxy is used by deafult
1 parent f427fe0 commit 87c1e47

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/src/processing/app/Preferences.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@ static public void init() {
140140

141141
PApplet.useNativeSelect =
142142
Preferences.getBoolean("chooser.files.native"); //$NON-NLS-1$
143-
143+
144+
System.setProperty("java.net.useSystemProxies","true");
145+
144146
// Set http proxy for folks that require it.
145147
// http://docs.oracle.com/javase/6/docs/technotes/guides/net/proxies.html
146148
String proxyHost = get("proxy.host");

0 commit comments

Comments
 (0)