public void setDocument(Document document) { super.setDocument(document); }
public void setDocument(Document document) { if (document != null && !(document instanceof StyledDocument)) throw new IllegalArgumentException ("JTextPane can only handle StyledDocuments");  setStyledDocument((StyledDocument) document); }
	public void setDocument(Document document) {		super.setDocument(document); // TODO	} // setDocument()