>From memory:
Use:
UIManager.put("Panel.background",Color.red);
Check the UIManager properties...
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of John
Preston
Sent: Saturday, 10 February 2001 00:42
To: [EMAIL PROTECTED]
Subject: Re: FW: I need some help regarding JTextPane
Hi, Can anyone help out on how to set the background color in a JTextPane.
I'm
using it in a logging window but want to set the default background.
John Preston
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing