private JPanel buildMainPanel(CodeUnit cu, CommentType initialCommentType) {
		JPanel mainPanel = new JPanel(new BorderLayout());
		tabbedPane = new JTabbedPane();
		mainPanel.add(tabbedPane);
		// Note that we don't add a keylistener here as in some other tab panes. This is because
		// the tab components are not focusable so there is no need to try and process a "space" 
		// key. Instead, the history for each comment type is also added as a tooltip on its
		// corresponding tab. This will cause a screen reader to read the history for a tab
		// when it is selected.

		eolPanel = new CommentHistoryPanel(CommentType.EOL, cu);
		prePanel = new CommentHistoryPanel(CommentType.PRE, cu);
		postPanel = new CommentHistoryPanel(CommentType.POST, cu);
		platePanel = new CommentHistoryPanel(CommentType.PLATE, cu);
		repeatablePanel = new CommentHistoryPanel(CommentType.REPEATABLE, cu);

		addTab("  EOL Comment    ", eolPanel);
		addTab("  Pre Comment    ", prePanel);
		addTab("  Post Comment   ", postPanel);
		addTab("  Plate Comment  ", platePanel);
		addTab("  Repeatable Comment  ", repeatablePanel);

		return mainPanel;
	}
Dialog to show comment history; has a tab for each comment type to show
history of changes to the comment.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/comments/CommentHistoryDialog.java