title: How to make a red zig zag under word in JEditorPane
body: <p>I need to make a simple spell checker in Java for an application that I am creating and I have searched around and have not found any straight and to the point answers.</p>
  
  <p>How do I make a word in <code>JEditorPane</code> get underlined with a red zig-zag? Like this:</p>
  
  <p><img src="https://i.stack.imgur.com/OhLLk.jpg" alt="Red zig-zag"></p>
  
  <p>Please if any one has any simple and fairly easy to implement ideas please would you share them with me.  Maybe even some links to some code.</p>