Article View: borland.public.jbuilder.java.swing
Article #10341Re: background color of fonts
From: Paul Furbacher [TeamB]
Date: Tue, 05 Oct 1999 00:00
Date: Tue, 05 Oct 1999 00:00
15 lines
1203 bytes
1203 bytes
dan patterson wrote: > I am trying to set the background color of the font in a tree control (using > Java2). I cannot work out how to do this. Any suggestions would be greatly > appreciated. I can set the background color of the tree control OK but this > seems to be independant to the background color of the test within the tree > control. This is something which your cellRenderer handles. Take a look at the samples/java/swing/SampleTree demo that comes with JBuilder 2+. Specifically, look at the class "SampleTreeCellRenderer" which deals with the background color issues. Paul Furbacher (TeamB)
Technical Details
Message-ID:
<37FA1A95.23A34E70@bilbo.bio.purdue.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7taqv7$kq57@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,56e6e17a7615a4ab X-Google-Attributes: gid111d45,public From: "Paul Furbacher [TeamB]" <pf@bilbo.bio.purdue.edu> Subject: Re: background color of fonts Date: 1999/10/05 Message-ID: <37FA1A95.23A34E70@bilbo.bio.purdue.edu> X-Deja-AN: 533107727 Content-Transfer-Encoding: 7bit References: <7taqv7$kq57@forums.borland.com> Content-Type: text/plain; charset=us-ascii Organization: Reverse Alchemy, Inc. Mime-Version: 1.0 Reply-To: pf@bilbo.bio.purdue.edu Newsgroups: borland.public.jbuilder.java.swing