void () { super.addComponents(); myLabelIndentLabel = new JLabel(ApplicationBundle.message("editbox.indent.label.indent")); myLabelIndent = new IntegerField(GroovyBundle.message("settings.code.style.label.indent.size"), 0, Integer.MAX_VALUE); add(myLabelIndentLabel, myLabelIndent); myStyleLabel = new JBLabel(GroovyBundle.message("settings.code.style.label.indent.style")); myLabelIndentStyle = new ComboBox<>(new EnumComboBoxModel<>(LabelIndentStyle.class)); add(myStyleLabel, myLabelIndentStyle); }