prop = "WebScarab.noProxy"; value = props.getProperty(prop); if (value == null) value = ""; noProxyTextArea.setText(value);
String[] noproxies = URLFetcher.getNoProxy(); if (noproxies.length>0) { StringBuffer buff = new StringBuffer(); buff.append(noproxies[0]); for (int i=1; i<noproxies.length;i++) { buff.append(", ").append(noproxies[i]); } noProxyTextArea.setText(buff.toString()); } else { noProxyTextArea.setText(""); }
    public ProxyConfig(java.awt.Frame parent, boolean modal, Properties props) {        super(parent, modal);        _props = props;        initComponents();                String prop = "WebScarab.httpProxy";        String value = props.getProperty(prop);        if (value == null) value = "";        String[] httpProxy = value.split(":");        httpProxyServerTextField.setText(httpProxy.length == 2 ? httpProxy[0] : "");        httpProxyPortTextField.setText(httpProxy.length == 2 ? httpProxy[1] : "");                prop = "WebScarab.httpsProxy";        value = props.getProperty(prop);        if (value == null) value = "";        String[] httpsProxy = value.split(":");        httpsProxyServerTextField.setText(httpsProxy.length == 2 ? httpsProxy[0] : "");        httpsProxyPortTextField.setText(httpsProxy.length == 2 ? httpsProxy[1] : "");                prop = "WebScarab.noProxy";        value = props.getProperty(prop);        if (value == null) value = "";        noProxyTextArea.setText(value);    }