JComponent () { return FormBuilder.createFormBuilder() .addLabeledComponent(CodeInsightBundle.message("label.template.key"), myTemplateNameTextField) .addComponentFillVertically(myEditor.getComponent(), UIUtil.DEFAULT_VGAP) .getPanel(); }