[java] text editor in java

Started by
1 comment, last by LorenzoGatti 14 years, 10 months ago
hi.. my friend and i are makin a text editor in java for the visually impaired.. it requires that the text shud be magnified when they type.. or when they move their cursor over the word... we managed to magnify as they type(word by word and letter by letter).. now we are stuck with the mouse magnification.. please help... its for a good cause.. cheers :)
Advertisement
Some more details would be helpfull.

What components are you using?
What do you want to achieve? When hovering a word? Or when clicking on the word thus moving the caret there?
Where are you stuck? How far did you get?
If I was helpful, feel free to rate me up ;)If I wasn't and you feel to rate me down, please let me know why!
There is a method to convert screen locations (like those from a MouseEvent) to character indices, which should be enough to reuse what you wrote for caret-based magnification.

Omae Wa Mou Shindeiru

This topic is closed to new replies.

Advertisement