void (boolean aFlag) { if (aFlag && myInspectionProfilePanel == null) { // to ensure that profile initialized with proper project myProfile.initInspectionTools(myProjectProfileManager.getProject()); initUI(); } super.setVisible(aFlag); }