EditorEx () { final EditorEx editor = super.createEditor(); editor.setVerticalScrollbarVisible(false); editor.setOneLineMode(true); editor.getContentComponent().addKeyListener(actionAdapter); return editor; }