I'm currently working on a project that requires the user to annotate (or comment) text inside a text component. The user would double click somewhere in the text and a tooltip would appear at that position (With text that they specify in another dialog). The textcomponent should be able to manage multiple of these tooltips at different positions.
Example: "The quick brown fox jumps over the lazy dog"
Double clicking before the word "quick" and also after the word "lazy" would insert tooltips as follows:
"The [tooltip above here]quick brown fox jumps over the lazy[tooltip above here] dog"
I have also been playing around with BalloonTip to achieve this.
However, I am having trouble inserting normal tooltips and balloon tooltips at different positions in the text.
Can anyone give me some advice on how to achieve this?