private Component createStatusPanel() {
		JPanel statusPanel = new JPanel(new BorderLayout());

		statusTextField = new GDLabel(" ");
		statusTextField.setHorizontalAlignment(SwingConstants.CENTER);
		statusTextField.setForeground(Messages.ERROR);

		// use a strut panel so the size of the message area does not change if we make
		// the message label not visible
		int height = statusTextField.getPreferredSize().height;

		statusPanel.add(Box.createVerticalStrut(height), BorderLayout.WEST);
		statusPanel.add(statusTextField, BorderLayout.CENTER);

		return statusPanel;
	}
<code>BitFieldEditorPanel</code> provides the ability to add or modify bitfields
within non-packed structures.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/compositeeditor/BitFieldEditorPanel.java