NetteOptions.getInstance().setNetteFile(netteFileTextField.getText());
NetteOptions.getInstance().setSandboxPath(sandboxPathTextField.getText());
}
boolean valid() {
Validable sandboxPathValidator = new SandboxPathValidator();
if (!isNetteFileValid()) {
errorLabel.setIcon(errorIcon);
errorLabel.setText(NbBundle.getMessage(NettePanel.class, "ERR_invalid_nette_file"));
return false;
} else if (!sandboxPathValidator.validate(sandboxPathTextField.getText())) {
errorLabel.setIcon(errorIcon);
errorLabel.setText(NbBundle.getMessage(NettePanel.class, "ERR_invalid_sandbox_folder"));
return false;
} else {