Dapatkan Posisi Kursor di Textarea Java
int currentCaretPosition = textPane.getCaretPosition();
Strange Seahorse
int currentCaretPosition = textPane.getCaretPosition();