public void setCurrentValues() {

		if (link.toLowerCase().startsWith("mailto")) {
			protocolLabel.setText("MailTo Protocol");
			typeLabel.setText("E-mail Address");
		}
		else if (link.toLowerCase().endsWith("jnlp")) {
			protocolLabel.setText("Java Network Launching Protocol");
			typeLabel.setText("JNLP File");
		}
		else {
			if (FileUtilities.isRemote(link)) {
				protocolLabel.setText("HyperText Transfer Protocol");
			}
			else {
				protocolLabel.setText("File Protocol");
			}
			if (link.toLowerCase().endsWith("cml")) {
				typeLabel.setText("CML File");
			}
			else if (link.toLowerCase().endsWith("html") || link.toLowerCase().endsWith("htm")) {
				typeLabel.setText("HTML File");
			}
			else if (link.toLowerCase().endsWith("swf")) {
				typeLabel.setText("Shockwave Flash File");
			}
			else {
				typeLabel.setText("HTML File");
			}
		}

		urlField.setText(link);

	}