How to select/highlight an entire row in JTextPane

Printable View