Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

background color JTextPane

843804Mar 23 2003 — edited Nov 22 2004
Hi, 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 20 2004
Added on Mar 23 2003
15 comments
1,049 views