[java] text editor in java
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 :)
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?
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?
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement