void (@Nullable final Sdk newJDK) { final ModifiableRootModel model = getModel(); if (newJDK != null) { model.setSdk(newJDK); } else { model.inheritSdk(); } if (myPanel != null) { myPanel.forceInitFromModel(); } }