@Override
	protected void dialogShown() {
		WindowUtilities.ensureEntirelyOnScreen(getDialog());
		Swing.runLater(() -> okButton.requestFocusInWindow());
	}
tracks 'details panel' open state across invocations
Ghidra/Framework/Docking/src/main/java/docking/ErrLogDialog.java