JComponent () { initializeName(); initializeTargetClassEditor(); if (GrIntroduceHandlerBase.resolveLocalVar(myContext) != null) { myReplaceAllOccurrences.setEnabled(false); myReplaceAllOccurrences.setSelected(true); } else if (myContext.getOccurrences().length < 2) { myReplaceAllOccurrences.setVisible(false); } return myPanel; }