public JComponent createComponent() { myEditor = new ReadAction<AssociationsEditor>() { protected void run(Result<AssociationsEditor> result) throws Throwable { result.setResult(new AssociationsEditor(myProject, myState.state)); } }.execute().getResultObject(); return myEditor.getComponent(); }