I have two questions about a JTextArea in my code

1. Colouring, I would like to colour certain words, e.g apple should be green, pear should be green and bold etc..

2. I want to add line numbers to each line, at the moment the number of lines is listed on the bottom, but I'd like there to be a number next to each line.

It was created like this:
static JTextComponent textbox = new JTextArea("", 23, 60);

so, if anyone has any ideas I'll be very grateful!
Alex