This is the code I'm using to display google in a JEditorPane
String url="http://google.com";
editorPane.setEditable(false);
try {
editorPane.setPage(url);
} catch (IOException e) {}
But for some reason the background will always be a blue colour, doesn't matter if I call
setBackgroundColor(Color.WHITE);
`. Note that everything is in the same `
`, white text or blue text, span or font or bare.
– SOFe Mar 30 '16 at 14:46