}
public void widgetSelected(SelectionEvent e) {
applyProperties();
FTPConnection ftpCon = new FTPConnection();
ftpCon.setConnectionProperties(connectionProperties);
MessageBox confirm = new MessageBox(Display.getCurrent().getActiveShell(),SWT.ICON_INFORMATION);
if(ftpCon.isConnectable()) {
confirm.setMessage("Connection Successful!");
} else {
if(connectionProperties.getType() == "ftp") {
confirm.setMessage("Connection FAILURE! Try toggling the passive/userdir properties if you are sure the rest is correct");
} else {