EditorTextField () { EditorTextField descriptionEditor = new EditorTextField() { @Override protected @NotNull EditorEx createEditor() { EditorEx editor = super.createEditor(); editor.getSettings().setUseSoftWraps(true); editor.getScrollPane().setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED); editor.setColorsScheme(editor.createBoundColorSchemeDelegate(EditorColorsUtil.getColorSchemeForComponent(this))); return editor; } }; descriptionEditor.setOneLineMode(false); descriptionEditor.setPreferredSize(new Dimension(descriptionEditor.getWidth(), JBUIScale.scale(100))); return descriptionEditor; }