可以这样达到目的:
JTextArea1.setForeground(Color a);