PDA

Click to See Complete Forum and Search --> : The current position of the cursor in textareacontrol or else


NONI_5
Jun 10th, 2005, 08:31 AM
Hello,
I'd like to ask if there is any componet (jtextarea, textareacontrol or
anything else) where, when i write a text
at the same time to know the number of the line and the number of the
column where the cursor is (x,y).

Thanks in advance

Dillinger4
Jun 10th, 2005, 05:51 PM
Off hand i don't think JTextComponent offers this functionality. JTextField or JTextArea both of which are subclasses of JTextComponent might.