@Override
	public void setFocused(boolean focused) {
		super.setFocused(focused);
		textArea.getCaret().setVisible(focused);
	}
A test vertex that allows the user t enter text and has a header for dragging.
Ghidra/Framework/Graph/src/test.slow/java/ghidra/graph/support/TextAreaTestVertex.java