void () { myEditorField = createEditorTextField(myDocument, myProject, myFileType, myIsViewer); final ComboBoxEditor editor = new MyEditor(); setEditor(editor); setRenderer(new EditorComboBoxRenderer(editor)); }