swingStyledDocument


Syntax

  • doc.insertString(index, text, attributes); //attributes should be a AttributeSet