D
dado0583
Hi, basically this is what I want to do:
The user drags something from another component and drops it
somewhere in the JTextArea. I want to know the position in the area
that the drop was made. (Preferably getting the caret position).
As you hover over the JTextArea, the caret position remains unaffected.
Is there anyway to use a MouseListener or some type of mechanism to
figure out where in the document the click was dropped?
Cheers,
David
The user drags something from another component and drops it
somewhere in the JTextArea. I want to know the position in the area
that the drop was made. (Preferably getting the caret position).
As you hover over the JTextArea, the caret position remains unaffected.
Is there anyway to use a MouseListener or some type of mechanism to
figure out where in the document the click was dropped?
Cheers,
David