@Override
	public void actionPerformed(ActionEvent e) {
		if (focusOwner == null) {
			return;
		}
		String action = e.getActionCommand();
		Action a = focusOwner.getActionMap().get(action);
		if (a != null) {
			a.actionPerformed(new ActionEvent(focusOwner, ActionEvent.ACTION_PERFORMED, null));
		}
	}
This spacer addresses the optical impression that the message panel changes size when showing details
Ghidra/Framework/Docking/src/main/java/docking/ErrLogExpandableDialog.java