title: Java Swing Text Editor
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3156809/what-components-should-i-use-for-building-a-java-wysiwyg-html-editor">What components should I use for building a Java WYSIWYG HTML editor</a>  </p>
  </blockquote>
  
  
  
  <p>I'm a total newbie in Java programming. I have to do text editor in Swing/AWT and I have one question about it. How can I edit one selected word, for example change its color? Which component and which functions should I use?</p>