JComponent () { JPanel panel = new ParameterTablePanel(myProject, myVariableData, myAnonOrLocalClass) { @Override protected void updateSignature() { } @Override protected void doEnterAction() { clickDefaultButton(); } @Override protected void doCancelAction() { AnonymousToInnerDialog.this.doCancelAction(); } }; panel.setBorder(IdeBorderFactory.createTitledBorder( JavaRefactoringBundle.message("anonymousToInner.parameters.panel.border.title"), false)); return panel; }