Now I am setting the content type of my JTextEditor as "text/html". And I would like to set the font of that JTextEditor to be "xxx", where xxx is a font name. Also, I would like to set the background of the JTextEditor to be a particular color. Anyone know how to use StyleSheet class to set it? or if there is another way to do this easily?