I just faced an interesting thing.
I was changing selected text style. The thing is when I change style for ONE WORD one by one it\'s fine but next if I select a wh
Use this.getTextPane().getStyledDocument().setCharacterAttributes()