0
I’m making a mini editor, but when I click on the bold button, for example, all text changes and I want you to change only the selected text. And more, how do I so that when you click on the button the text if you have normal goes to bold and vice versa, since clicking once has no way to reverse.
Tense, not knowing which components you are using. If it is
JEditorPane
, has that question/answer.– Renan Gomes
I am using Jtextepane
– Daniel Neto