- Cache.applicationProperties.setProperty("PROXY_SERVER",proxyServerTB.getText());\r
- Cache.applicationProperties.setProperty("PROXY_PORT", proxyPortTB.getText());\r
+\r
+ if (proxyServerTB.getText().trim().length() < 1)\r
+ Cache.applicationProperties.remove("PROXY_SERVER");\r
+ else\r
+ Cache.applicationProperties.setProperty("PROXY_SERVER",\r
+ proxyServerTB.getText());\r
+\r
+ if (proxyPortTB.getText().trim().length() < 1)\r
+ Cache.applicationProperties.remove("PROXY_PORT");\r
+ else\r
+ Cache.applicationProperties.setProperty("PROXY_PORT", proxyPortTB.getText());\r