How can I change the background color of an uneditable JTextPane in Java?
<p>I have a <code>JTextPane</code> that has<code>pane.setEditable(false)</code> which forces it to have a 'greyed-out' background color.</p>

<p>After trying <code>setBackground(Color.WHITE)</code> (which doesn't work), I tried looking around the net for an answer but not managed to find one yet.</p>

<p>Can anyone help me on this one please?</p>