void () { if (myWrapper == null) { myWrapper = new WindowWrapperBuilder(myMode, myTabbedPane) .setProject(myProject) .setTitle(myTitle) .setPreferredFocusedComponent(myLogPanel) .setDimensionServiceKey(CompareBranchesDialog.class.getName()) .build(); } myWrapper.show(); }