If you want to get a bit more advance, look into implementing an JEditorPane or JTextPane. Then you can assign the editorkits and styles, work with the document breaking the different areas into various root and other elements. It actually gets quite complicated. Or...(this idea just came to me..) try adding new JLabel objects to the area, each with a different color.
Tom