Hi there,
I wonder if it's possible to change the font size in a jtextarea so in every new line the text will increase.
in other words, when I do this:
Font f = new Font("Times Roman", Font.BOLD, 10);
jta.setFont(f);
jta.append("ELVIS");
f = new Font("Times Roman", Font.BOLD, 20);
jta.setFont(f);
jta.append("PRESLEY");
the result is font size 20.
how can I ensure that the
word ELVIS will be size 10 and PRESLEY will be size 20
Thanks
Peter