JTextField () { JTextField result = new JTextField(); result.setEditable(false); final String qualifiedName = mySourceClass.getQualifiedName(); result.setText(qualifiedName != null ? qualifiedName : SymbolPresentationUtil.getSymbolPresentableText(mySourceClass)); return result; }