title: How to create formatted text to show in a Java Swing Component (JTextPane, JEditorPane...)
body: <p>I've searched and researched in everywhere I could to find an answer with no result. So I ask for help once more.</p>
  
  <p>I want to show formatted text in a desktop java swing application. This text would be programactly generated in base of some variable objects and wouldn't be editable.</p>
  
  <p>I don't know if is best to use JTextPane, or JEditorPane, or what. The matter is that I don't find anywhere some manual or tutorial that explain how to use them. Do I have to create an HTMLDocument to insert the text? How do I create it?...</p>
  
  <p>Is is the right way to show text in  this case?, or may I go using tables or labels or something like that.</p>
  
  <p>I need some advice from you please, if there is some where I could learn how to do it, tell me please.</p>