private JComponent buildInfoPanel() {
		JPanel panel = new JPanel(new PairLayout(4, 5));
		panel.setBorder(BorderFactory.createEmptyBorder(4, 10, 20, 10));
		oldWindowTextField = new JTextField(50);
		newWindowTextField = new JTextField(50);
		oldProviderTextField = new JTextField(50);
		newProviderTextField = new JTextField(50);
		oldComponentTextField = new JTextField(50);
		newComponentTextField = new JTextField(50);
		oldWindowTextField.setFocusable(false);
		newWindowTextField.setFocusable(false);
		oldProviderTextField.setFocusable(false);
		newProviderTextField.setFocusable(false);
		oldComponentTextField.setFocusable(false);
		newComponentTextField.setFocusable(false);
		panel.add(new JLabel("Focused Window (new/old): ", SwingConstants.RIGHT));
		panel.add(buildTextPair(newWindowTextField, oldWindowTextField));
		panel.add(new JLabel("Focused Provider (new/old): ", SwingConstants.RIGHT));
		panel.add(buildTextPair(newProviderTextField, oldProviderTextField));
		panel.add(new JLabel("Focused Component (new/old): ", SwingConstants.RIGHT));
		panel.add(buildTextPair(newComponentTextField, oldComponentTextField));
		panel.getAccessibleContext().setAccessibleName("Info Previews");
		return panel;
	}
Diagnostic dialog for display information about the components in a window and related focus
information.
Ghidra/Framework/Docking/src/main/java/ghidra/docking/util/ComponentInfoDialog.java