I am using a JTextArea for a text editor programme.
Text in the JTextArea is provisionally set in the constructor using teaxtArea.setFont("Serif", Font.PLAIN, 14);
I have added event handlers that allow user to select various font styles and sizes.
However when the new changes are applied via the setFont method the text already in the JTextarea is changed.
Is it possible to apply the new font to new text only?
I love deadlines, I love the whooshing sound they make as they fly by...