setCaretPosition not working properly

Printable View