jbackup/src/main/java/org/jbundle/jbackup/destination/FtpDestinationPropertyView.java
public void propertiesToControls()
	{
		super.propertiesToControls();
		String strHost = m_properties.getProperty(FTP_HOST);
		m_tfHost.setText(strHost);

		String strPort = m_properties.getProperty(FTP_PORT);
		m_tfPort.setText(strPort);

		String strUser = m_properties.getProperty(USER_NAME);
		m_tfUser.setText(strUser);

		String strPassword = m_properties.getProperty(PASSWORD);
		m_tfPassword.setText(strPassword);

		String strDir = m_properties.getProperty(ROOT_DIR);
		if (strDir == null)
			strDir = DEFAULT_ROOT_DIR;
		m_tfDir.setText(strDir);
	}
public void propertiesToControls()
	{
		super.propertiesToControls();
		String strHost = m_properties.getProperty(FTP_HOST);
		m_tfHost.setText(strHost);

		String strPort = m_properties.getProperty(FTP_PORT);
		m_tfPort.setText(strPort);

		String strUser = m_properties.getProperty(USER_NAME);
		m_tfUser.setText(strUser);

		String strPassword = m_properties.getProperty(PASSWORD);
		m_tfPassword.setText(strPassword);

		String strDir = m_properties.getProperty(ROOT_DIR);
		if (strDir == null)
			strDir = DEFAULT_ROOT_DIR;
		m_tfDir.setText(strDir);
	}
/*
Set the properties to the current control values.