background color JTextPane
843804Mar 23 2003 — edited Nov 22 2004Hi, I'm using a JTextPane to edit a HTML page. I want the ability to change the background color of the page, so that when the user saves the page, this is also saved. At the moment, the best I can come up with is to set each line of text to a color, but the background remains white. Anyone have any ideas? TIA