I am using freetts for converting text-to-speech.I am using swing java to do so. I want that while speaking text will get highlighted in the textarea.
For speaking I am using speak function of voice class and I am synthesizing voice using voiceManager. I an not getting code for that.I f any one can help me with the code.