I want to have two lines in red and next two lines in blue color.
Is it possible ?
>> In fact, you can do it with a JTextPane, not a JTextArea.
Here is an example:
===============
Is it possible ?
>> In fact, you can do it with a JTextPane, not a JTextArea.
Here is an example:
===============
All these are copied from network, not mine :)