void () { myFreeze = true; updateJdkList(); myFreeze = false; mySandboxHome.reset(); if (myIdeaJdk != null && myIdeaJdk.getSdkAdditionalData() instanceof Sandbox sandbox) { final String sandboxHome = sandbox.getSandboxHome(); mySandboxHome.setText(sandboxHome); mySandboxHome.setSelectedItem(sandboxHome); final Sdk internalJava = sandbox.getJavaSdk(); if (internalJava != null) { for (int i = 0; i < myJdksModel.getSize(); i++) { if (Comparing.strEqual(myJdksModel.getElementAt(i).getName(), internalJava.getName())){ myInternalJres.setSelectedIndex(i); break; } } } myModified = false; } else { mySandboxHome.setText(IdeaJdk.getDefaultSandbox()); } }