import org.tizen.installmanager.core.Config;
import org.tizen.installmanager.core.Options;
import org.tizen.installmanager.lib.Downloader;
-import org.tizen.installmanager.lib.ErrorController.ErrorCode;
import org.tizen.installmanager.lib.Log;
import org.tizen.installmanager.lib.NetworkProxy.ProxyType;
import org.tizen.installmanager.ui.InstallManagerWindow;
Integer.parseInt(proxyPort);
} catch (NumberFormatException e) {
httpPortText.setText("");
+ getButton(Window.OK).setEnabled(false);
return;
}
if (proxyHost.isEmpty()) {
getButton(Window.OK).setEnabled(false);
} else {
- if (proxyPort.isEmpty()) {
+ if (proxyPort.isEmpty() || proxyPort.equals("")) {
getButton(Window.OK).setEnabled(false);
} else {
getButton(Window.OK).setEnabled(true);