public void setName(String s) {
		if (FileUtilities.isRelative(s))
			s = FileUtilities.getCodeBase(page.getAddress()) + s;
		hotLink = s;
		miJNLP.setEnabled(FileUtilities.isRemote(hotLink));
		if (linkPropertiesDialog == null)
			linkPropertiesDialog = new LinkPropertiesDialog(page);
		linkPropertiesDialog.setLink(s);
		String s2 = s.toLowerCase();
		if (s2.endsWith(".jnlp") || s2.endsWith(".swf") || s2.endsWith(".jpg") || s2.endsWith(".jpeg")
				|| s2.endsWith(".png") || s2.endsWith(".gif")) {
			miSave.setEnabled(true);
		}
		else {
			miSave.setEnabled(false);
		}
		miEdit.setEnabled(page.isEditable());
	}