public void showErrorView(String errorMessage) {

		stopAllAnimation();
		this.graph = null;

		removeSatellite();

		viewContentPanel.removeAll();
		viewContentPanel.paintImmediately(viewContentPanel.getBounds());
		JLabel messageLabel = new GDLabel(errorMessage);
		Gui.registerFont(messageLabel, MESSAGE_FONT_ID);
		messageLabel.setHorizontalAlignment(SwingConstants.CENTER);
		messageLabel.setFocusable(true); // we have to have something focusable in our provider
		viewContentPanel.add(messageLabel, BorderLayout.NORTH);
		viewContentPanel.validate();
		disposeViewer();
	}
Sets the perspective for this view

@param newPerspective the new perspective
Ghidra/Framework/Graph/src/main/java/ghidra/graph/viewer/VisualGraphView.java