LibraryOptionsPanel () { if (myPanel == null) { final GroovyLibraryDescription libraryDescription = new GroovyLibraryDescription(); final String baseDirPath = myBasePath != null ? FileUtil.toSystemIndependentName(myBasePath) : ""; myPanel = new LibraryOptionsPanel(libraryDescription, baseDirPath, FrameworkLibraryVersionFilter.ALL, myLibrariesContainer, false); Disposer.register(myDisposable, myPanel); } return myPanel; }