This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
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...