setBackground(null) should work if it is part of any Container, not just a
Panel.
-----Original Message-----
From: Justin Lipton [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 09, 2001 4:20 PM
To: 'John Preston'
Cc: [EMAIL PROTECTED]
Subject: RE: FW: I need some help regarding JTextPane
>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
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing