Component (final JTable jtable, Object obj, boolean flag, boolean flag1, int i, int j) { super.getTableCellRendererComponent(jtable, "", flag, flag1, i, j); Expression expression = (Expression)obj; if (expression != null && expression.getExpression().length() != 0) { final Document document = PsiDocumentManager.getInstance(project).getDocument(expression.getFile()); return new MyEditorTextField(document, project, expression.getFileType()); } else { return this; } }