private void setLabel() {
		if (modelClass == null || modelID == -1)
			return;
		String text = Modeler.getInternationalText("ScriptConsole");
		if (text == null)
			text = "Script Console";
		text += ": ";
		if (modelClass.equals(PageMolecularViewer.class.getName())) {
			text += "Molecular Viewer";
		}
		else if (modelClass.equals(PageMd3d.class.getName())) {
			text += "3D Molecular Dynamics";
		}
		else if (modelClass.equals(PageJContainer.class.getName())) {
			text += "Plugin";
		}
		else if (modelClass.equals(PageApplet.class.getName())) {
			text += "Applet";
		}
		else {
			text += FileUtilities.getSuffix(modelClass);
		}
		label.setText(text + "#" + modelID);
	}