Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #4790
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Knute Johnson <nospam@knutejohnson.com> |
| Newsgroups | comp.lang.java.gui |
| Subject | Re: Painter class for nimbus L&F |
| Date | Thu, 01 Dec 2011 21:21:00 -0800 |
| Organization | A noiseless patient Spider |
| Lines | 35 |
| Message-ID | <jb9n7u$317$1@dont-email.me> (permalink) |
| References | <94bb0148-5608-4bc3-a41e-87386a02da2a@p9g2000vbb.googlegroups.com> <jb6gni$m61$1@dont-email.me> <01e7897a-883d-43fe-9313-76fdd146b8c3@v5g2000yqn.googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Fri, 2 Dec 2011 05:21:02 +0000 (UTC) |
| Injection-Info | mx04.eternal-september.org; posting-host="mz/LDSJwiWnk3Jnnqg7x+Q"; logging-data="3111"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/29fXjGnsMELD2xH/QXkDu" |
| User-Agent | Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 |
| In-Reply-To | <01e7897a-883d-43fe-9313-76fdd146b8c3@v5g2000yqn.googlegroups.com> |
| Cancel-Lock | sha1:d5NxJXUzvvBZZUIz/dO7UuHWaPQ= |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.gui:4790 |
Show key headers only | View raw
On 12/1/2011 8:37 AM, Fred wrote: > On Nov 30, 4:11 pm, Knute Johnson<nos...@knutejohnson.com> wrote: >> On 11/30/2011 9:15 AM, Fred wrote: >> >>> To change colors on some JComponents using Nimbus L&F, I have to use a >>> custom Painter. >> >>> I followed the examples of Jasper Potts, and imported from >>> com.sun.java.swing.Painter >> >>> But on some Java implementations this could not be resolved. Then I >>> found the same definition in >>> org.jdesktop.swingx.painter.Painter >> >>> Which should be used? Why? Which is "correct"? >>> Is there a true standard Java? >> >>> -- >>> Fred K >> >> Both of those packages are not part of the public API and you could >> expect that they would not necessarily remain or be correct in the future. >> >> But I'm curious, on what JComponents could you not set the color? >> > > I use a Painter to set the selected tab color for a JTabbedPane. > -- > Fred K The setForegroundAt() and setBackgroundAt() methods don't work with Nimbus? -- Knute Johnson
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Next in thread | Find similar
Painter class for nimbus L&F Fred <fred.l.kleinschmidt@gmail.com> - 2011-11-30 09:15 -0800
Re: Painter class for nimbus L&F Knute Johnson <nospam@knutejohnson.com> - 2011-11-30 16:11 -0800
Re: Painter class for nimbus L&F Fred <fred.l.kleinschmidt@gmail.com> - 2011-12-01 08:37 -0800
Re: Painter class for nimbus L&F Knute Johnson <nospam@knutejohnson.com> - 2011-12-01 21:21 -0800
Re: Painter class for nimbus L&F Fred <fred.l.kleinschmidt@gmail.com> - 2011-12-02 07:52 -0800
Re: Painter class for nimbus L&F Knute Johnson <nospam@knutejohnson.com> - 2011-12-06 18:07 -0800
Re: Painter class for nimbus L&F Knute Johnson <nospam@knutejohnson.com> - 2011-12-06 18:16 -0800
Re: Painter class for nimbus L&F Roedy Green <see_website@mindprod.com.invalid> - 2011-12-01 01:48 -0800
csiph-web