private void constructOneLinePanel() {
		removeAll();
		if (toolbar == null) {
			add(menuCloseToolbar, BorderLayout.EAST);
		}
		else {
			JPanel panel = new JPanel(new FlowLayout(FlowLayout.LEFT, 0, 0));
			toolbar.setBorder(BorderFactory.createEmptyBorder());
			panel.add(toolbar);
			panel.add(menuCloseToolbar);
			add(panel, BorderLayout.EAST);
			toolbar.setUseSingleLineLayout(true);
			toolbar.invalidate();
		}
		add(titlePanel, BorderLayout.CENTER);
		numLines = 1;
		validateInvalidate();
	}
Signals whether or not to break the toolbar actions into multiple rows.  The default is
to wrap as necessary.
@param noWrap true signals not to break the actions into multiple rows
Ghidra/Framework/Docking/src/main/java/docking/GenericHeader.java