Hi peeps,

I was wondering if anyone could help me. Im using a JEditorpane to display a html page in. What I want to do is to change the font colour of the html page. I have tried to use the setCaret() method, but to no avail. Anyhelp would be appreciated. Thanks in advance.

Rick

You can always set the foreground or background color of your panel or content pane...Or I think you could create a Font object.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.